Skip to content

Commit

Permalink
feat: use multi-architecture images in Dockerfile to support apple si… (
Browse files Browse the repository at this point in the history
#8964)

feat: use multi-architecture images in Dockerfile to support apple silicon
  • Loading branch information
DrakeEvans authored Sep 26, 2024
1 parent d15d71a commit f7e9204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ RUN --mount=type=cache,target=/root/.cargo/registry --mount=type=cache,target=/r
&& strip out/chisel \
&& strip out/anvil;

FROM docker.io/frolvlad/alpine-glibc:alpine-3.16_glibc-2.34 as foundry-client
FROM alpine:3.18 as foundry-client

RUN apk add --no-cache linux-headers git
RUN apk add --no-cache linux-headers git gcompat libstdc++

COPY --from=build-environment /opt/foundry/out/forge /usr/local/bin/forge
COPY --from=build-environment /opt/foundry/out/cast /usr/local/bin/cast
Expand Down

0 comments on commit f7e9204

Please sign in to comment.