aboutsummaryrefslogtreecommitdiff
path: root/testing/docker/archlinux
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-02-11 20:25:37 +1300
committerChris Packham <judge.packham@gmail.com>2020-02-17 20:07:20 +1300
commit612d374fbea8d616ebf276c30a6fbca78e8f4bf9 (patch)
tree694abe41c84120044d4f050fde32f03ba065ae26 /testing/docker/archlinux
parent4fa0ba100b8924b27942ff253c5474c655427027 (diff)
downloadcrosstool-ng-612d374fbea8d616ebf276c30a6fbca78e8f4bf9.tar.gz
crosstool-ng-612d374fbea8d616ebf276c30a6fbca78e8f4bf9.tar.bz2
crosstool-ng-612d374fbea8d616ebf276c30a6fbca78e8f4bf9.zip
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/Dockerfile4
1 files changed, 2 insertions, 2 deletions
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