sudoers-builduser

master
Vincent Schweiger 2024-01-27 15:34:55 +01:00
parent 1794ce2fd4
commit f06acfaa2d
Signed by: vincent
GPG Key ID: F83B0F0E383CC23F
2 changed files with 3 additions and 0 deletions

View File

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

1
sudoers-builduser Normal file
View File

@ -0,0 +1 @@
builduser ALL=NOPASSWD: /usr/bin/pacman