mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Force fully qualified image names
If we try and pull an unqualified image name, jobs hang on a podman prompt.
This commit is contained in:
parent
4e129d3d04
commit
5d838b8980
@ -157,6 +157,10 @@ RUN dnf install -y podman
|
||||
RUN echo -e 'cgroup_manager = "cgroupfs"\nevents_logger = "file"' > /etc/containers/libpod.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
|
||||
|
||||
# Copy app from builder
|
||||
COPY --from=builder /var/lib/awx /var/lib/awx
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user