This commit is contained in:
parent
a83cb09baf
commit
94f4d3cebe
@ -24,7 +24,8 @@ RUN pacman -Syu --noconfirm --noprogressbar \
|
|||||||
&& cp "$NVM_DIR/versions/node/$(ls $NVM_DIR/versions/node)/bin/npm" /usr/local/bin/npm \
|
&& cp "$NVM_DIR/versions/node/$(ls $NVM_DIR/versions/node)/bin/npm" /usr/local/bin/npm \
|
||||||
&& cp "$NVM_DIR/versions/node/$(ls $NVM_DIR/versions/node)/bin/npx" /usr/local/bin/npx \
|
&& cp "$NVM_DIR/versions/node/$(ls $NVM_DIR/versions/node)/bin/npx" /usr/local/bin/npx \
|
||||||
&& useradd -m builder \
|
&& useradd -m builder \
|
||||||
&& echo "permit nopass builder as root" > /etc/doas.conf \
|
&& echo "permit nopass builder" > /etc/doas.conf \
|
||||||
|
&& echo "permit nopass root" >> /etc/doas.conf \
|
||||||
&& chmod 0400 /etc/doas.conf \
|
&& chmod 0400 /etc/doas.conf \
|
||||||
&& rm -rf "$NVM_DIR/.cache" /tmp/*
|
&& rm -rf "$NVM_DIR/.cache" /tmp/*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user