From 00b94e1c14221661b5cabff80018222ae23ac75c Mon Sep 17 00:00:00 2001 From: hanabi1224 Date: Fri, 13 Sep 2024 16:45:56 +0800 Subject: [PATCH] opt out for arm64 --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 51af6ab916f..7194d6d7785 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,10 @@ ENV PATH="/root/.cargo/bin:${PATH}" RUN curl -sSL https://raw.githubusercontent.com/voidint/g/master/install.sh | bash RUN "${HOME}/.g/bin/g" install 1.21 && ln -sf "${HOME}/.g/go/bin/go" /usr/local/bin/go && go version +# Opt out F3 sidecar FFI build for arm64 for now +RUN if [ "${BUILDPLATFORM}" != "linux/amd64" ] ;then echo FOREST_F3_SIDECAR_FFI_BUILD_OPT_OUT=1 >>/etc/environment ; fi +RUN echo "FOREST_F3_SIDECAR_FFI_BUILD_OPT_OUT=${FOREST_F3_SIDECAR_FFI_BUILD_OPT_OUT}" + # Copy the cross-compilation scripts COPY --from=xx / /