Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clients/portal: update Dockerfiles to use baseimage/tag arg format #1005

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions clients/fluffy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG branch=amd64-master-latest
ARG baseimage=statusim/nimbus-fluffy
ARG tag=amd64-master-latest

FROM statusim/nimbus-fluffy:$branch
FROM $baseimage:$tag

ADD fluffy.sh /fluffy.sh
RUN chmod +x /fluffy.sh
Expand Down
5 changes: 4 additions & 1 deletion clients/trin-bridge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM portalnetwork/trin:latest-bridge
ARG baseimage=portalnetwork/trin
ARG tag=latest-bridge

FROM $baseimage:$tag

ADD https://raw.githubusercontent.com/ethereum/portal-spec-tests/master/tests/mainnet/history/hive/test_data_collection_of_forks_blocks.yaml /test_data_collection_of_forks_blocks.yaml
ADD trin_bridge.sh /trin_bridge.sh
Expand Down
2 changes: 1 addition & 1 deletion clients/trin-bridge/trin_bridge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ else
exit 1
fi

RUST_LOG=debug portal-bridge --node-count 1 $FLAGS --executable-path ./usr/bin/trin --mode test:/test_data_collection_of_forks_blocks.yaml --el-provider test --external-ip $IP_ADDR --epoch-accumulator-path . trin
RUST_LOG=trace portal-bridge --node-count 1 $FLAGS --executable-path ./usr/bin/trin --mode test:/test_data_collection_of_forks_blocks.yaml --el-provider test --external-ip $IP_ADDR --epoch-accumulator-path . trin
5 changes: 3 additions & 2 deletions clients/trin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG branch=latest
ARG baseimage=portalnetwork/trin
ARG tag=latest

FROM portalnetwork/trin:$branch
FROM $baseimage:$tag

ADD trin.sh /trin.sh
RUN chmod +x /trin.sh
Expand Down
2 changes: 1 addition & 1 deletion clients/trin/trin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ else
FLAGS="$FLAGS --networks history"
fi

RUST_LOG=debug trin --web3-transport http --web3-http-address http://0.0.0.0:8545 --external-address "$IP_ADDR":9009 --bootnodes none $FLAGS
RUST_LOG=trace trin --web3-transport http --web3-http-address http://0.0.0.0:8545 --external-address "$IP_ADDR":9009 --bootnodes none $FLAGS
6 changes: 5 additions & 1 deletion clients/ultralight/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM ghcr.io/ethereumjs/ultralight:latest

ARG baseimage=ghcr.io/ethereumjs/ultralight
ARG tag=latest

FROM $baseimage:$tag

COPY ultralight.sh /ultralight.sh
RUN chmod +x /ultralight.sh
Expand Down