Skip to content

Commit

Permalink
feat: add anvil to Docker (foundry-rs#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
alephao authored May 8, 2022
1 parent 3497cdc commit 8cbcb7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ WORKDIR /opt/foundry
COPY . .
RUN source $HOME/.profile && cargo build --release \
&& strip /opt/foundry/target/release/forge \
&& strip /opt/foundry/target/release/cast
&& strip /opt/foundry/target/release/cast \
&& strip /opt/foundry/target/release/anvil

from alpine as foundry-client
ENV GLIBC_KEY=https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
Expand All @@ -21,4 +22,5 @@ RUN wget -q -O ${GLIBC_KEY_FILE} ${GLIBC_KEY} \
&& apk add glibc.apk --force
COPY --from=build-environment /opt/foundry/target/release/forge /usr/local/bin/forge
COPY --from=build-environment /opt/foundry/target/release/cast /usr/local/bin/cast
COPY --from=build-environment /opt/foundry/target/release/anvil /usr/local/bin/anvil
ENTRYPOINT ["/bin/sh", "-c"]

0 comments on commit 8cbcb7b

Please sign in to comment.