Skip to content

Commit

Permalink
copy cast from foundry image
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickBera committed May 2, 2024
1 parent 0a0b705 commit 9d6e0a2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#######################################################

ARG GO_VERSION=1.22.2
ARG RUNNER_IMAGE=ghcr.io/foundry-rs/foundry
ARG RUNNER_IMAGE=alpine:3.19
ARG BUILD_TAGS="netgo,ledger,muslc,blst,pebbledb"
ARG NAME=beacond
ARG APP_NAME=beacond
Expand Down Expand Up @@ -115,9 +115,14 @@ FROM ${RUNNER_IMAGE}
# Build args
ARG APP_NAME

COPY --from=ghcr.io/foundry-rs/foundry /usr/local/bin/forge /usr/bin/forge
COPY --from=ghcr.io/foundry-rs/foundry /usr/local/bin/cast /usr/bin/cast
COPY --from=ghcr.io/foundry-rs/foundry /usr/local/bin/anvil /usr/bin/anvil
COPY --from=ghcr.io/foundry-rs/foundry /usr/local/bin/chisel /usr/bin/chisel

# Copy over built executable into a fresh container.
COPY --from=builder /workdir/build/bin/${APP_NAME} /usr/bin
RUN mkdir -p /root/jwt /root/kzg && \
apk add --no-cache bash sed curl
apk add --no-cache bash sed curl jq

#ENTRYPOINT [ "./beacond" ]

0 comments on commit 9d6e0a2

Please sign in to comment.