npm unsafe-perm

This commit is contained in:
Samuel Huang
2023-01-24 11:05:42 +11:00
parent eb0f3a6a89
commit 50805fd4b1
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 -g qrcode-terminal RUN npm install --unsafe-perm=true -g qrcode-terminal
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 -g qrcode-terminal RUN npm install --unsafe-perm=true -g qrcode-terminal
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 -g qrcode-terminal RUN npm install --unsafe-perm=true -g qrcode-terminal
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