Skip to content

Commit 5142903

Browse files
authored
Address container build warnings (#368)
1 parent 2b73546 commit 5142903

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

final/Containerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ USER root
1212
RUN echo -e "\n\n# Added during image build" >> /etc/dnf/dnf.conf && \
1313
echo -e "minrate=100\ntimeout=60\n" >> /etc/dnf/dnf.conf
1414

15-
LABEL org.opencontainers.image.source https://github.com/ansible/ansible-dev-tools
16-
LABEL org.opencontainers.image.authors "Ansible DevTools"
17-
LABEL org.opencontainers.image.vendor "Red Hat"
18-
LABEL org.opencontainers.image.licenses "GPL-3.0"
19-
LABEL org.opencontainers.image.description "An execution environment targeted for Ansible content creators."
15+
LABEL org.opencontainers.image.source=https://github.com/ansible/ansible-dev-tools
16+
LABEL org.opencontainers.image.authors="Ansible DevTools"
17+
LABEL org.opencontainers.image.vendor="Red Hat"
18+
LABEL org.opencontainers.image.licenses="GPL-3.0"
19+
LABEL org.opencontainers.image.description="An execution environment targeted for Ansible content creators."
2020

2121

2222
RUN microdnf -y makecache && microdnf -y update
@@ -93,6 +93,7 @@ RUN mkdir -p /var/lib/shared/overlay-images \
9393

9494
ENV _CONTAINERS_USERNS_CONFIGURED=""
9595
ENV ANSIBLE_DEV_TOOLS_CONTAINER=1
96+
ENV PIP_ROOT_USER_ACTION=ignore
9697

9798

9899
# In OpenShift, container will run as a random uid number and gid 0. Make sure things

0 commit comments

Comments
 (0)