From f6c4365dab156ed59b3966c699a6b79a0b54548e Mon Sep 17 00:00:00 2001 From: Konstantin Zolotarev Date: Wed, 26 Oct 2022 14:18:17 +0300 Subject: [PATCH] Fixes multiarch docker build (#3551) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 17056619a0a6..88758743322a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .