This commit is contained in:
MedzikUser 2021-10-17 12:01:12 +02:00
parent a464cc6988
commit f164242e7d
No known key found for this signature in database
GPG Key ID: 3AC8B718A75F3281
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -1,2 +1,2 @@
root ALL=(ALL) ALL
archie ALL=(ALL) NOPASSWD: ALL
build ALL=(ALL) NOPASSWD: ALL