From f164242e7dc3b461df5e36dbd922da2009031038 Mon Sep 17 00:00:00 2001 From: MedzikUser Date: Sun, 17 Oct 2021 12:01:12 +0200 Subject: [PATCH] update --- Dockerfile | 6 +++--- sudoers | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a69ead..e98050d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,10 +12,10 @@ RUN pacman -Syu --noconfirm \ python-pip \ python-requests -RUN useradd -m -d /build -s /bin/bash archie +RUN useradd --create-home build ADD sudoers /etc/sudoers -USER archie +USER build -RUN sudo echo "Running 'sudo' for archie: success" +RUN sudo echo "Running 'sudo' for build: success" diff --git a/sudoers b/sudoers index 07fdede..ffa451a 100644 --- a/sudoers +++ b/sudoers @@ -1,2 +1,2 @@ root ALL=(ALL) ALL -archie ALL=(ALL) NOPASSWD: ALL +build ALL=(ALL) NOPASSWD: ALL