summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-01-15 07:58:53 (GMT)
committerAlexey Neyman <stilor@att.net>2019-01-15 07:58:53 (GMT)
commitb6c5ae2f1740dc4bba02e3f2b4a1c3e5534e7e1f (patch)
tree9cde4b88e99368f3d897c643cfffd8733fa33121 /testing
parent92ad0fe0aba39e5a88b20d6f09edd53cd7a76c83 (diff)
Fix building archlinux image
`groupadd` now requires libaudit.so, but coreutils can be installed without audit package. Weird, gross. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing')
-rw-r--r--testing/docker/archlinux/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/docker/archlinux/Dockerfile b/testing/docker/archlinux/Dockerfile
index 5f2b717..c32402a 100644
--- a/testing/docker/archlinux/Dockerfile
+++ b/testing/docker/archlinux/Dockerfile
@@ -1,10 +1,10 @@
FROM base/archlinux:latest
ARG CTNG_UID
ARG CTNG_GID
+RUN pacman -Syu --noconfirm
+RUN pacman -S --noconfirm base-devel git help2man python unzip wget audit
RUN groupadd -g $CTNG_GID ctng
RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
-RUN pacman -Syu --noconfirm
-RUN pacman -S --noconfirm base-devel git help2man python unzip wget
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile