Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicFusion authored Aug 14, 2023
1 parent c0bb938 commit 259b3a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ RUN mv ./yay_12.1.2_x86_64/yay /usr/bin/
# Root DANGEROUS BLAH BLAH BLAH
RUN useradd builduser -m
RUN passwd -d builduser
RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo
RUN sudo -u builduser bash -c 'cd ~ && yay -Sy && yay -S yay --noconfirm'
RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
RUN sudo -u builduser bash -c 'cd ~ && yay -S yay-bin --noconfirm'

0 comments on commit 259b3a6

Please sign in to comment.