mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Fix dev build (docker-compose) problems
Prevent deletion of nginx user by entrypoint.sh - Fixes: https://github.com/ansible/awx/issues/9552 Enable fuse-overlayfs in all images - native overlay not supported until kernel 5.13+ - Fixes: https://github.com/ansible/awx/issues/10099 Refs: https://www.redhat.com/sysadmin/podman-rootless-overlay https://www.redhat.com/en/blog/working-container-storage-library-and-tools-red-hat-enterprise-linux
This commit is contained in:
@@ -5,6 +5,7 @@ if [ `id -u` -ge 500 ] || [ -z "${CURRENT_UID}" ]; then
|
||||
cat << EOF > /etc/passwd
|
||||
root:x:0:0:root:/root:/bin/bash
|
||||
awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash
|
||||
nginx:x:`id -u nginx`:`id -g nginx`:Nginx web server:/var/lib/nginx:/sbin/nologin
|
||||
EOF
|
||||
|
||||
cat <<EOF >> /etc/group
|
||||
|
||||
Reference in New Issue
Block a user