Update Dockerfile
This commit is contained in:
parent
c0bb938940
commit
259b3a612e
@ -9,5 +9,5 @@ RUN mv ./yay_12.1.2_x86_64/yay /usr/bin/
|
|||||||
# Root DANGEROUS BLAH BLAH BLAH
|
# Root DANGEROUS BLAH BLAH BLAH
|
||||||
RUN useradd builduser -m
|
RUN useradd builduser -m
|
||||||
RUN passwd -d builduser
|
RUN passwd -d builduser
|
||||||
RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo
|
RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
||||||
RUN sudo -u builduser bash -c 'cd ~ && yay -Sy && yay -S yay --noconfirm'
|
RUN sudo -u builduser bash -c 'cd ~ && yay -S yay-bin --noconfirm'
|
||||||
|
Loading…
Reference in New Issue
Block a user