explicitly set root user for RHEL containers (#208)

This commit is contained in:
Rob Parker
2018-09-12 16:32:39 +01:00
committed by GitHub
parent 3989661778
commit a854c4c627
2 changed files with 2 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ buildah config \
--env LANG=en_US.UTF-8 \
--env LOG_FORMAT=basic \
--entrypoint runmqserver \
--user root \
$ctr_mq
buildah unmount $ctr_mq
buildah commit $ctr_mq $tag

View File

@@ -80,6 +80,7 @@ buildah config \
--env MQ_ADMIN_PASSWORD=passw0rd \
--env MQ_DEV=true \
--entrypoint runmqdevserver \
--user root \
$ctr_mq
buildah unmount $ctr_mq
buildah commit $ctr_mq $tag