mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 19:50:05 -03:30
Create awx group in container
This commit is contained in:
@@ -234,6 +234,7 @@ RUN for dir in \
|
||||
for file in \
|
||||
/etc/subuid \
|
||||
/etc/subgid \
|
||||
/etc/group \
|
||||
/etc/passwd \
|
||||
/var/lib/awx/rsyslog/rsyslog.conf ; \
|
||||
do touch $file ; chmod g+rw $file ; chgrp root $file ; done
|
||||
|
||||
@@ -7,6 +7,10 @@ root:x:0:0:root:/root:/bin/bash
|
||||
awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash
|
||||
EOF
|
||||
|
||||
cat <<EOF >> /etc/group
|
||||
awx:x:`id -u`:awx
|
||||
EOF
|
||||
|
||||
cat <<EOF > /etc/subuid
|
||||
awx:100000:50001
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user