Update Dockerfile

This commit is contained in:
Alexandre
2021-12-19 17:16:34 +01:00
committed by GitHub
parent ee3f79dee1
commit fbf6d06786

View File

@@ -28,8 +28,8 @@ ARG BUILD_UPSTREAM="2.11.0"
RUN \
BUILD_ARCH=$(uname -m) \
&& BUILD_ARCH=${BUILD_ARCH:-x86} \
&& echo "${BUILD_ARCH}" \
&& BUILD_ARCH=${BUILD_ARCH:-x86} \
&& if [[ "${BUILD_ARCH}" == *aarch64* ]]; then ARCH="arm64"; fi \
&& if [[ "${BUILD_ARCH}" == *armv8* ]]; then ARCH="arm64"; fi \
&& if [[ "${BUILD_ARCH}" == *arm64* ]]; then ARCH="arm64"; fi \