Skip to content

Commit fa748fe

Browse files
authored
Update Dockerfile
1 parent 259b3a6 commit fa748fe

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ RUN pacman -Syu --noconfirm
55
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
8-
RUN mv ./yay_12.1.2_x86_64/yay /usr/bin/
8+
RUN mv ./yay_12.1.2_x86_64/yay /usr/bin/build-yay
99
# Root DANGEROUS BLAH BLAH BLAH
1010
RUN useradd builduser -m
1111
RUN passwd -d builduser
1212
RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
13-
RUN sudo -u builduser bash -c 'cd ~ && yay -S yay-bin --noconfirm'
13+
RUN sudo -u builduser bash -c 'cd ~ && build-yay -S yay --noconfirm'
14+
RUN rm -rfv /usr/bin/build-yay

0 commit comments

Comments
 (0)