mirror of
https://github.com/MedzikUser/docker-arch
synced 2024-08-15 03:25:56 +00:00
update
This commit is contained in:
parent
a464cc6988
commit
f164242e7d
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
2
sudoers
2
sudoers
|
@ -1,2 +1,2 @@
|
|||
root ALL=(ALL) ALL
|
||||
archie ALL=(ALL) NOPASSWD: ALL
|
||||
build ALL=(ALL) NOPASSWD: ALL
|
||||
|
|
Loading…
Reference in a new issue