Hi!
I have a Docker file that uses Fedora 36 docker image, this is the Dockerfile:
FROM fedora:36
RUN yum -y install \
wget \
git \
gcc \
gcc-c++ \
autoconf \
bison \
flex \
make \
cmake \
elfutils-devel \
findutils \
kmod \
clang \
llvm \
python-lxml && yum clean all
ADD builder-entrypoint.sh /
WORKDIR /build/probe
ENTRYPOINT [ "/builder-entrypoint.sh" ]
When building the image it fails when trying to get the metalink from https://mirrors.fedoraproject.org/metalink?repo=fedora-36&arch=x86_64
.
This is the error:
#7 3.560 Fedora 36 - x86_64 142 B/s | 359 B 00:02
#7 3.565 Errors during downloading metadata for repository 'fedora':
#7 3.565 - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-36&arch=x86_64 (IP: 152.19.134.198)
#7 3.593 Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-36&arch=x86_64 (IP: 152.19.134.198)
#7 ERROR: process "/bin/sh -c yum -y install \twget \tgit \tgcc \tgcc-c++ \tautoconf \tbison \tflex \tmake \tcmake \telfutils-devel \tfindutils \tkmod \tclang \tllvm \tpython-lxml && yum clean all" did not complete successfully: exit code: 1
------
> [2/4] RUN yum -y install wget git gcc gcc-c++ autoconf bison flex make cmake elfutils-devel findutils kmod clang llvm python-lxml && yum clean all:
------
process "/bin/sh -c yum -y install \twget \tgit \tgcc \tgcc-c++ \tautoconf \tbison \tflex \tmake \tcmake \telfutils-devel \tfindutils \tkmod \tclang \tllvm \tpython-lxml && yum clean all" did not complete successfully: exit code: 1
Trying with curl I’ll get the same error (Not Found 404):
➜ curl "https://mirrors.fedoraproject.org/metalink?repo=fedora-36&arch=x86_64" -v
* Trying 18.159.254.57:443...
* Connected to mirrors.fedoraproject.org (18.159.254.57) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN: server accepted h2
* Server certificate:
* subject: C=US; ST=North Carolina; L=Raleigh; O=Red Hat, Inc.; CN=*.fedoraproject.org
* start date: Jan 16 00:00:00 2023 GMT
* expire date: Jan 16 23:59:59 2024 GMT
* subjectAltName: host "mirrors.fedoraproject.org" matched cert's "*.fedoraproject.org"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G3 TLS ECC SHA384 2020 CA1
* SSL certificate verify ok.
* using HTTP/2
* h2h3 [:method: GET]
* h2h3 [:path: /metalink?repo=fedora-36&arch=x86_64]
* h2h3 [:scheme: https]
* h2h3 [:authority: mirrors.fedoraproject.org]
* h2h3 [user-agent: curl/7.88.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x15600cc00)
> GET /metalink?repo=fedora-36&arch=x86_64 HTTP/2
> Host: mirrors.fedoraproject.org
> user-agent: curl/7.88.1
> accept: */*
>
< HTTP/2 404
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< referrer-policy: same-origin
< content-type: application/metalink+xml
< content-length: 359
< date: Wed, 19 Jul 2023 10:53:33 GMT
< apptime: D=5125
< x-fedora-proxyserver: proxy36.fedoraproject.org
< x-fedora-requestid: ZLfAriMapO1s6NItkDCObgAAlAY
< server: Apache
<
<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/" type="dynamic" pubdate="Wed, 19 Jul 2023 10:53:34 GMT" generator="mirrormanager" xmlns:mm0="http://fedorahosted.org/mirrormanager">
<!-- pub/archive/fedora/linux/releases/36/Everything/x86_64/os/repodata/repomd.xml not found or has not metalink
-->
</metalink>
* Connection #0 to host mirrors.fedoraproject.org left intact
I understand that FC 36 is in EOL since 16th May 2023 but earlier releases like FC35, FC34 I can get the metalink without any problem.
There is any infra issue on your side?
Thanks,
Daniele