Skip to content

Commit

Permalink
clients/portal: update Dockerfiles to use baseimage/tag arg format (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML authored Mar 1, 2024
1 parent 23767cb commit 725bef0
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
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

0 comments on commit 725bef0

Please sign in to comment.