npm unsafe-perm

This commit is contained in:
Samuel Huang
2023-01-24 20:41:53 +11:00
parent 50805fd4b1
commit 471b19cdd7
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ COPY --from=builder /tmp/accelerated-domains.china.conf /etc/dnsmasq.disable/
RUN apk update && apk add bash openssl curl jq moreutils \ RUN apk update && apk add bash openssl curl jq moreutils \
whois dnsmasq ca-certificates proxychains-ng npm whois dnsmasq ca-certificates proxychains-ng npm
RUN npm install --unsafe-perm=true -g qrcode-terminal RUN npm install -g qrcode-terminal --verbose
RUN sed -i "s/^socks4.*/socks5\t127.0.0.1 1080/g" /etc/proxychains/proxychains.conf RUN sed -i "s/^socks4.*/socks5\t127.0.0.1 1080/g" /etc/proxychains/proxychains.conf

View File

@@ -33,7 +33,7 @@ COPY --from=builder /tmp/accelerated-domains.china.conf /etc/dnsmasq.disable/
RUN apk update && apk add bash openssl curl jq moreutils \ RUN apk update && apk add bash openssl curl jq moreutils \
whois dnsmasq ca-certificates proxychains-ng npm whois dnsmasq ca-certificates proxychains-ng npm
RUN npm install --unsafe-perm=true -g qrcode-terminal RUN npm install -g qrcode-terminal --verbose
RUN sed -i "s/^socks4.*/socks5\t127.0.0.1 1080/g" /etc/proxychains/proxychains.conf RUN sed -i "s/^socks4.*/socks5\t127.0.0.1 1080/g" /etc/proxychains/proxychains.conf

View File

@@ -33,7 +33,7 @@ COPY --from=builder /tmp/accelerated-domains.china.conf /etc/dnsmasq.disable/
RUN apk update && apk add bash openssl curl jq moreutils \ RUN apk update && apk add bash openssl curl jq moreutils \
whois dnsmasq ca-certificates proxychains-ng npm whois dnsmasq ca-certificates proxychains-ng npm
RUN npm install --unsafe-perm=true -g qrcode-terminal RUN npm install -g qrcode-terminal --verbose
RUN sed -i "s/^socks4.*/socks5\t127.0.0.1 1080/g" /etc/proxychains/proxychains.conf RUN sed -i "s/^socks4.*/socks5\t127.0.0.1 1080/g" /etc/proxychains/proxychains.conf