From c0bb9389406ec09f2b7886dfcc19d7a961cd9ca2 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Mon, 14 Aug 2023 18:10:42 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index f6f6790..73c445b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,8 @@ RUN pacman -S --needed git wget base-devel --noconfirm RUN wget https://github.com/Jguer/yay/releases/download/v12.1.2/yay_12.1.2_x86_64.tar.gz RUN tar -xf ./yay_12.1.2_x86_64.tar.gz RUN mv ./yay_12.1.2_x86_64/yay /usr/bin/ +# Root DANGEROUS BLAH BLAH BLAH +RUN useradd builduser -m +RUN passwd -d builduser RUN printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo RUN sudo -u builduser bash -c 'cd ~ && yay -Sy && yay -S yay --noconfirm'