Skip to content

Commit da8b360

Browse files
authored
Build and ship basectl in the Docker image (#1131)
1 parent f565946 commit da8b360

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN . /tmp/versions.env && git clone $BASE_RETH_NODE_REPO . && \
3737
git checkout tags/$BASE_RETH_NODE_TAG && \
3838
bash -c '[ "$(git rev-parse HEAD)" = "$BASE_RETH_NODE_COMMIT" ]' || (echo "Commit hash verification failed" && exit 1)
3939

40-
RUN cargo build --bin base-reth-node --bin base-consensus --profile maxperf
40+
RUN cargo build --bin base-reth-node --bin base-consensus --bin basectl --profile maxperf
4141

4242
FROM ubuntu:24.04
4343

@@ -48,6 +48,7 @@ RUN mkdir -p /var/log/supervisor
4848

4949
WORKDIR /app
5050

51+
COPY --from=reth-base /app/target/maxperf/basectl ./
5152
COPY --from=reth-base /app/target/maxperf/base-consensus ./
5253
COPY --from=reth-base /app/target/maxperf/base-reth-node ./
5354
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

0 commit comments

Comments
 (0)