mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
Merge pull request #11288 from bhavenst/devel
Fix dev build (docker-compose) problems
This commit is contained in:
commit
25140c9072
@ -171,6 +171,11 @@ RUN dnf install -y podman
|
||||
RUN echo -e '[engine]\ncgroup_manager = "cgroupfs"\nevents_logger = "file"\nruntime = "crun"' > /etc/containers/containers.conf
|
||||
{% endif %}
|
||||
|
||||
# Fix overlay filesystem issue
|
||||
{% if build_dev|bool %}
|
||||
RUN sed -i '/^#mount_program/s/^#//' /etc/containers/storage.conf
|
||||
{% endif %}
|
||||
|
||||
# Ensure we must use fully qualified image names
|
||||
# This prevents podman prompt that hangs when trying to pull unqualified images
|
||||
RUN mkdir -p /etc/containers/registries.conf.d/ && echo "unqualified-search-registries = []" >> /etc/containers/registries.conf.d/force-fully-qualified-images.conf && chmod 644 /etc/containers/registries.conf.d/force-fully-qualified-images.conf
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user