Skip to content

Commit

Permalink
Fixes multiarch docker build (foundry-rs#3551)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinzolotarev authored Oct 26, 2022
1 parent 6dcc162 commit f6c4365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk add clang lld curl build-base linux-headers git \
&& chmod +x ./rustup.sh \
&& ./rustup.sh -y

RUN [[ "$TARGETARCH" = "arm64" ]] && echo "export CFLAGS=-mno-outline-atomics" >> $HOME/.profile
RUN [[ "$TARGETARCH" = "arm64" ]] && echo "export CFLAGS=-mno-outline-atomics" >> $HOME/.profile || true

WORKDIR /opt/foundry
COPY . .
Expand Down

0 comments on commit f6c4365

Please sign in to comment.