Commit b5e31442 authored by AlmAck's avatar AlmAck

add the builder user in the docker image

parent bf9faba4
Pipeline #94 failed with stage
in 4 minutes and 29 seconds
......@@ -3,3 +3,10 @@ FROM chakralinux/chakra-bootstrap
MAINTAINER chakralinux <info@chakralinux.org>
RUN pacman -Syyu --needed --noconfirm base-devel gettext wget openssh git rsync
# The repository build script is run by user 'builder'. The build scripts needs
# to install dependencies using pacman. This requires root permissions.
# (Note: the build script itself can't be run as root, as makepkg would
# complain)
RUN useradd -m -G users -s /bin/bash builder
RUN echo 'builder ALL=(ALL) NOPASSWD: /usr/bin/pacman' >> /etc/sudoers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment