diff options
author | Chris Packham <judge.packham@gmail.com> | 2020-02-11 07:25:37 (GMT) |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2020-02-17 07:07:20 (GMT) |
commit | 612d374fbea8d616ebf276c30a6fbca78e8f4bf9 (patch) | |
tree | 694abe41c84120044d4f050fde32f03ba065ae26 /testing/docker/archlinux | |
parent | 4fa0ba100b8924b27942ff253c5474c655427027 (diff) |
testing/docker: set default value for CTNG_UID/CTNG_GID
Make the creation of docker images easier so that CTNG_UID/CTNG_GID have
a default value if it's not explicitly specified when building. This
will allow publishing of images on various package repositories (e.g.
docker hub, gitlab containers). dmgr.sh can still be used to set the
UID/GID to that of the current user when building a custom container.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'testing/docker/archlinux')
-rw-r--r-- | testing/docker/archlinux/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/docker/archlinux/Dockerfile b/testing/docker/archlinux/Dockerfile index 2298abd..1a6a148 100644 --- a/testing/docker/archlinux/Dockerfile +++ b/testing/docker/archlinux/Dockerfile @@ -1,6 +1,6 @@ FROM archlinux/base:latest -ARG CTNG_UID -ARG CTNG_GID +ARG CTNG_UID=1000 +ARG CTNG_GID=1000 RUN pacman -Sy --noconfirm archlinux-keyring RUN pacman -Syu --noconfirm RUN pacman -S --noconfirm base-devel git help2man python unzip wget audit |