Skip to content

Commit c0bb938

Browse files
authored
Update Dockerfile
1 parent 45e2941 commit c0bb938

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ RUN pacman -S --needed git wget base-devel --noconfirm
66
RUN wget https://github.com/Jguer/yay/releases/download/v12.1.2/yay_12.1.2_x86_64.tar.gz
77
RUN tar -xf ./yay_12.1.2_x86_64.tar.gz
88
RUN mv ./yay_12.1.2_x86_64/yay /usr/bin/
9+
# Root DANGEROUS BLAH BLAH BLAH
10+
RUN useradd builduser -m
11+
RUN passwd -d builduser
912
RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo
1013
RUN sudo -u builduser bash -c 'cd ~ && yay -Sy && yay -S yay --noconfirm'

0 commit comments

Comments
 (0)