oracle / docker-images

Official source of container configurations, images, and examples for Oracle products and projects
https://developer.oracle.com/use-cases/#containers
Universal Permissive License v1.0
6.54k stars 5.42k forks source link

Cannot download repomd.xml #2738

Open avinash89-chavan opened 9 months ago

avinash89-chavan commented 9 months ago

When i try to run the command: ./buildContainerImage.sh -v 19.3.0 -e I am getting the following error: => ERROR [base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && /opt/install/checkSpace.sh && /opt/install/setupLinuxEnv.sh && rm -rf /opt/install 0.4s


[base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && /opt/install/checkSpace.sh && /opt/install/setupLinuxEnv.sh && rm -rf /opt/install: 0.362 Oracle Linux 8 BaseOS Latest (aarch64) 0.0 B/s | 0 B 00:00
0.362 Errors during downloading metadata for repository 'ol8_baseos_latest': 0.362 - Curl error (7): Couldn't connect to server for https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/aarch64/repodata/repomd.xml [Failed to connect to 127.0.0.1 port 9000: Connection refused] 0.367 Error: Failed to download metadata for repo 'ol8_baseos_latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Dockerfile:89

I can curl https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/aarch64/repodata/repomd.xml from my mac.

running the following also produces the same error: docker run --rm -it oraclelinux:7-slim curl -vvI https://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/x86_64/repodata/repomd.xml

My docker config.json has the following: "proxies": { "default": { "httpProxy": "http://127.0.0.1:9000", "httpsProxy": "http://127.0.0.1:9000" } }