diff --git a/base/arch/Dockerfile b/base/arch/Dockerfile index 4d1640c..fcdb0a0 100644 --- a/base/arch/Dockerfile +++ b/base/arch/Dockerfile @@ -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