From 33f82d76ff776a1cbfa8fb6ab46bcaebd7cf6334 Mon Sep 17 00:00:00 2001 From: Arthur Barr Date: Wed, 6 Feb 2019 16:12:18 +0000 Subject: [PATCH] Use variable for uid and gid --- mq-advanced-server-rhel/mq-buildah.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mq-advanced-server-rhel/mq-buildah.sh b/mq-advanced-server-rhel/mq-buildah.sh index 8ca540e..78b9d3b 100755 --- a/mq-advanced-server-rhel/mq-buildah.sh +++ b/mq-advanced-server-rhel/mq-buildah.sh @@ -102,7 +102,7 @@ buildah run --user root $ctr_mq -- usermod -aG mqm root # Create the directory for MQ configuration files mkdir -p ${mnt_mq}/etc/mqm -chown 888:888 ${mnt_mq}/etc/mqm +chown ${mqm_uid}:${mqm_gid} ${mnt_mq}/etc/mqm # Install the Go binaries into the image install --mode 0750 --owner ${mqm_uid} --group 0 ./build/runmqserver ${mnt_mq}/usr/local/bin/