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 45e2941 commit c0bb938
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ RUN pacman -S --needed git wget base-devel --noconfirm
RUN wget https://github.com/Jguer/yay/releases/download/v12.1.2/yay_12.1.2_x86_64.tar.gz
RUN tar -xf ./yay_12.1.2_x86_64.tar.gz
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'

0 comments on commit c0bb938

Please sign in to comment.