Skip to content

Commit 725bef0

Browse files
authored
clients/portal: update Dockerfiles to use baseimage/tag arg format (#1005)
1 parent 23767cb commit 725bef0

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

clients/fluffy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
ARG branch=amd64-master-latest
1+
ARG baseimage=statusim/nimbus-fluffy
2+
ARG tag=amd64-master-latest
23

3-
FROM statusim/nimbus-fluffy:$branch
4+
FROM $baseimage:$tag
45

56
ADD fluffy.sh /fluffy.sh
67
RUN chmod +x /fluffy.sh

clients/trin-bridge/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
FROM portalnetwork/trin:latest-bridge
1+
ARG baseimage=portalnetwork/trin
2+
ARG tag=latest-bridge
3+
4+
FROM $baseimage:$tag
25

36
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
47
ADD trin_bridge.sh /trin_bridge.sh

clients/trin-bridge/trin_bridge.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ else
1313
exit 1
1414
fi
1515

16-
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
16+
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

clients/trin/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
ARG branch=latest
1+
ARG baseimage=portalnetwork/trin
2+
ARG tag=latest
23

3-
FROM portalnetwork/trin:$branch
4+
FROM $baseimage:$tag
45

56
ADD trin.sh /trin.sh
67
RUN chmod +x /trin.sh

clients/trin/trin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ else
1616
FLAGS="$FLAGS --networks history"
1717
fi
1818

19-
RUST_LOG=debug trin --web3-transport http --web3-http-address http://0.0.0.0:8545 --external-address "$IP_ADDR":9009 --bootnodes none $FLAGS
19+
RUST_LOG=trace trin --web3-transport http --web3-http-address http://0.0.0.0:8545 --external-address "$IP_ADDR":9009 --bootnodes none $FLAGS

clients/ultralight/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
FROM ghcr.io/ethereumjs/ultralight:latest
1+
2+
ARG baseimage=ghcr.io/ethereumjs/ultralight
3+
ARG tag=latest
4+
5+
FROM $baseimage:$tag
26

37
COPY ultralight.sh /ultralight.sh
48
RUN chmod +x /ultralight.sh

0 commit comments

Comments
 (0)