diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index d4096cc08..ed86881cf 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -16,6 +16,7 @@ RUN addgroup -g 1000 node \ arm*) OPENSSL_ARCH=linux-armv4;; \ ppc64le) OPENSSL_ARCH=linux-ppc64le;; \ s390x) OPENSSL_ARCH=linux-s390x;; \ + loongarch64) CONFIGURE_OPENSSL_NO_ASM="--openssl-no-asm" OPENSSL_ARCH=linux64-loongarch64;; \ *) ;; \ esac \ && if [ -n "${CHECKSUM}" ]; then \ @@ -54,7 +55,7 @@ RUN addgroup -g 1000 node \ && grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - \ && tar -xf "node-v$NODE_VERSION.tar.xz" \ && cd "node-v$NODE_VERSION" \ - && ./configure \ + && ./configure $CONFIGURE_OPENSSL_NO_ASM \ && make -j$(getconf _NPROCESSORS_ONLN) V= \ && make install \ && apk del .build-deps-full \