mirror of
https://github.com/MedzikUser/docker-arch
synced 2024-08-15 03:25:56 +00:00
update
This commit is contained in:
parent
0396964364
commit
e0235dd80a
2 changed files with 5 additions and 2 deletions
|
@ -4,8 +4,9 @@ RUN pacman -Syu --noconfirm \
|
|||
git \
|
||||
base
|
||||
|
||||
RUN useradd -l -G wheel,storage,power -m -s /bin/bash -p archie archie \
|
||||
&& sed -i.bkp -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
|
||||
RUN useradd -m -d /build -s /bin/bash archie
|
||||
|
||||
ADD sudoers /etc/sudoers
|
||||
|
||||
USER archie
|
||||
|
||||
|
|
2
sudoers
Normal file
2
sudoers
Normal file
|
@ -0,0 +1,2 @@
|
|||
root ALL=(ALL) ALL
|
||||
archie ALL=(ALL) NOPASSWD: ALL
|
Loading…
Reference in a new issue