From e24c8a7074e52cea4f7576e7ac5e6cba84680464 Mon Sep 17 00:00:00 2001 From: h0nIg Date: Sun, 16 Mar 2025 19:22:29 +0100 Subject: [PATCH] fully static build to avoid libc issues / missing dynamic linker --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0c41549..ec6dcf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apk add --no-cache --virtual .build-deps binutils-gold curl g++ gcc gnupg li # donwload and compile node from source code. RUN wget https://nodejs.org/dist/$NodeVersion/node-$NodeVersion.tar.gz && tar -zxvf node-$NodeVersion.tar.gz -RUN cd node-$NodeVersion && ./configure --dest-cpu=x64 --partly-static && make -j$(getconf _NPROCESSORS_ONLN) +RUN cd node-$NodeVersion && ./configure --dest-cpu=x64 --fully-static && make -j$(getconf _NPROCESSORS_ONLN) # create and copy tar.gz into /node_staging RUN mkdir -p /usr/src/out/bin