aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-14 16:17:07 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-14 16:17:07 +0200
commit7f698caa7cacdd1c8b2744cfa2cf49e05c66aed9 (patch)
tree1a34e24aea969b680a1d23dbe518dc767a656bf4 /docker/Dockerfile
parent1bfc28926f4da9af6a783a4f0603c39f1627553f (diff)
downloadaurbuilder-7f698caa7cacdd1c8b2744cfa2cf49e05c66aed9.tar.gz
uding podman now
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