This commit is contained in:
parent
a83cb09baf
commit
f9f4200f4a
@ -25,6 +25,7 @@ RUN pacman -Syu --noconfirm --noprogressbar \
|
|||||||
&& 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 as root" > /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