fix root
All checks were successful
release / build (push) Successful in 7m1s

This commit is contained in:
Astound 2025-07-05 00:06:09 -05:00
parent a83cb09baf
commit f9f4200f4a
Signed by: kaiser
GPG Key ID: 97504AF0027B1A56

View File

@ -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 \
&& useradd -m builder \
&& echo "permit nopass builder as root" > /etc/doas.conf \
&& echo "permit nopass root" >> /etc/doas.conf \
&& chmod 0400 /etc/doas.conf \
&& rm -rf "$NVM_DIR/.cache" /tmp/*