Skip to content

Commit a854c4c

Browse files
authored
explicitly set root user for RHEL containers (#208)
1 parent 3989661 commit a854c4c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mq-advanced-server-rhel/mq-buildah.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ buildah config \
106106
--env LANG=en_US.UTF-8 \
107107
--env LOG_FORMAT=basic \
108108
--entrypoint runmqserver \
109+
--user root \
109110
$ctr_mq
110111
buildah unmount $ctr_mq
111112
buildah commit $ctr_mq $tag

mq-advanced-server-rhel/mqdev-buildah.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ buildah config \
8080
--env MQ_ADMIN_PASSWORD=passw0rd \
8181
--env MQ_DEV=true \
8282
--entrypoint runmqdevserver \
83+
--user root \
8384
$ctr_mq
8485
buildah unmount $ctr_mq
8586
buildah commit $ctr_mq $tag

0 commit comments

Comments
 (0)