From 679cda8fd393c85e986e379af63a8556ed2b6749 Mon Sep 17 00:00:00 2001 From: zontreck Date: Thu, 5 Sep 2024 10:18:38 -0700 Subject: [PATCH] Move some statements around in the dockerfile for arch --- base/arch/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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