sudoers-builduser
parent
1794ce2fd4
commit
f06acfaa2d
|
@ -3,6 +3,8 @@ FROM docker.io/library/archlinux:base-devel
|
|||
RUN pacman -Sy --noconfirm git
|
||||
RUN useradd -ms /bin/bash builduser
|
||||
|
||||
COPY suoders-builduser /etc/sudoers.d/builduser
|
||||
|
||||
USER builduser
|
||||
WORKDIR /home/builduser
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
builduser ALL=NOPASSWD: /usr/bin/pacman
|
Loading…
Reference in New Issue