aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index f7b5e7f..9decea7 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -10,13 +10,16 @@ RUN pacman --noconfirm -Syu
RUN pacman --noconfirm -S git sudo
RUN groupadd sudo
-RUN useradd -G sudo -d /workdir -m aurbuilder
+RUN useradd --groups sudo --home-dir /workdir --create-home --user-group --system aurbuilder
COPY --chown=root:root sudoers /etc/sudoers
RUN mkdir /pkgout
VOLUME /pkgout
+RUN mkdir /pkgdest
+RUN chown aurbuilder:aurbuilder /pkgdest
+
RUN pacman --noconfirm -S python python-requests
RUN mkdir -p /opt/aurbuilder