File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,13 @@ LABEL previous-stage=smartdns-builder
33
44# prepare builder
55ARG OPENSSL_VER=3.4.2
6+ ARG NODE_VERSION=20.x
67RUN apt update && \
7- apt install -y binutils perl curl make gcc nodejs npm clang wget unzip ca-certificates && \
8+ apt install -y binutils perl curl make gcc clang wget unzip ca-certificates && \
89 update-ca-certificates && \
10+ curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - && \
11+ apt install -y nodejs && \
12+ node --version && npm --version && \
913 \
1014 curl https://sh.rustup.rs -sSf | sh -s -- -y && \
1115 export PATH="$HOME/.cargo/bin:$PATH" && \
@@ -36,7 +40,7 @@ COPY . /build/smartdns/
3640RUN cd /build/smartdns && \
3741 export CFLAGS="-I /opt/build/include" && \
3842 export LDFLAGS="-L /opt/build/lib -L /opt/build/lib64" && \
39- export PATH="$HOME/.cargo/bin:$PATH " && \
43+ export PATH="$HOME/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin " && \
4044 rm -fr /build/smartdns/package/*.tar.gz && \
4145 sh ./package/build-pkg.sh --platform linux --arch `dpkg --print-architecture` --with-ui --static && \
4246 \
You can’t perform that action at this time.
0 commit comments