File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ LABEL previous-stage=smartdns-builder
44# prepare builder
55ARG OPENSSL_VER=3.4.2
66RUN apt update && \
7- apt install -y binutils perl curl make gcc nodejs npm clang wget unzip ca-certificates && \
7+ apt install -y binutils perl curl make gcc clang wget unzip ca-certificates && \
88 update-ca-certificates && \
9+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
10+ node --version && npm --version && \
911 \
1012 curl https://sh.rustup.rs -sSf | sh -s -- -y && \
1113 export PATH="$HOME/.cargo/bin:$PATH" && \
@@ -36,7 +38,7 @@ COPY . /build/smartdns/
3638RUN cd /build/smartdns && \
3739 export CFLAGS="-I /opt/build/include" && \
3840 export LDFLAGS="-L /opt/build/lib -L /opt/build/lib64" && \
39- export PATH="$HOME/.cargo/bin:$PATH " && \
41+ export PATH="$HOME/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin " && \
4042 rm -fr /build/smartdns/package/*.tar.gz && \
4143 sh ./package/build-pkg.sh --platform linux --arch `dpkg --print-architecture` --with-ui --static && \
4244 \
You can’t perform that action at this time.
0 commit comments