Can't build against python311 image
Summary
I am using the latest ironbank/opensource/python:v3.11.3
as a base image and I am trying to build a new one, but I get an error when doing a dnf update -y --nodocs
within the docker file. I have verified that I can get to the following address on the host machine that I am doing the docker build https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/baseos/os/repodata/repomd.xml
Steps to reproduce
On a RHEL8 host, build the following dockerfile
FROM nexus.corp.icr-team.com:18090/ironbank/opensource/python:v3.11.3
USER root
RUN dnf update -y --nodocs
What is the current bug behavior?
I get the following error when doing a docker build
(venv) [krotte@ws-1dst8b3 xyris]$ docker build -t xyris:test .
Sending build context to Docker daemon 778.2kB
Step 1/3 : FROM nexus.corp.icr-team.com:18090/ironbank/opensource/python:v3.11.3
---> 08fb33b6c3d6
Step 2/3 : USER root
---> Running in d2e221036b95
Removing intermediate container d2e221036b95
---> bfc3206e299e
Step 3/3 : RUN dnf update -y --nodocs
---> Running in 0ea4d235c8f5
Red Hat Universal Base Image 9 (RPMs) - BaseOS 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'ubi-9-baseos-rpms':
- Curl error (6): Couldn't resolve host name for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/baseos/os/repodata/repomd.xml [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'ubi-9-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
The command '/bin/sh -c dnf update -y --nodocs' returned a non-zero code: 1
What is the expected correct behavior?
The expected behavior is that the container is built.
Relevant logs and/or screenshots
See the current behavior description above
Possible fixes
Unknown
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info