From 612d374fbea8d616ebf276c30a6fbca78e8f4bf9 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Tue, 11 Feb 2020 20:25:37 +1300 Subject: 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 --- testing/docker/archlinux/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/docker/archlinux') diff --git a/testing/docker/archlinux/Dockerfile b/testing/docker/archlinux/Dockerfile index 2298abd8..1a6a1486 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 -- cgit v1.2.3