Move some statements around in the dockerfile for arch

This commit is contained in:
zontreck 2024-09-05 10:18:38 -07:00
parent 0b5af36a1d
commit 679cda8fd3

View file

@ -22,11 +22,12 @@ WORKDIR /tmp
# Create necessary entry to sudoers
RUN echo "bld ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN su - bld -c "git clone https://aur.archlinux.org/yay.git /tmp/yay"
WORKDIR /tmp/yay
USER bld
RUN su - bld -c "makepkg -si --noconfirm"
USER bld
RUN git clone https://aur.archlinux.org/yay.git /tmp/yay
WORKDIR /tmp/yay
RUN makepkg -si --noconfirm
WORKDIR /
RUN rm -rf /tmp/yay