Better but still not sorking
This commit is contained in:
@@ -19,9 +19,8 @@ CMD ["bash"]
|
||||
FROM archlinux AS archlinux-user
|
||||
|
||||
RUN \
|
||||
pacman -Sy curl --noconfirm && \
|
||||
pacman -Sy curl sudo --noconfirm && \
|
||||
groupadd sudo && \
|
||||
mkdir /etc/sudoers.d && \
|
||||
echo "%sudo ALL=(ALL:ALL) ALL" > /etc/sudoers.d/sudoers && \
|
||||
useradd -m tester && \
|
||||
echo tester:tester | chpasswd && \
|
||||
|
||||
Reference in New Issue
Block a user