Skip to content
Snippets Groups Projects
Commit e8a50bf0 authored by Marc-Olivier Andrez's avatar Marc-Olivier Andrez
Browse files

ci: update and set version of Docker container `quay.io/pypa/manylinux2014_x86_64`

The Docker image
`gitlab.desy.de:5555/asapo/asapo/asapo-packages-manylinux-build-env` is
based on the Docker container `quay.io/pypa/manylinux2014_x86_64` but it
was not possible to know which exact version it was relying on
(`asapo-packages-manylinux-build-env` was using the latest version of
`quay.io/pypa/manylinux2014_x86_64` at the time of the build).

This commit specifies the version of `quay.io/pypa/manylinux2014_x86_64`
to use when building `asapo-packages-manylinux-build-env`.

In addition, running the CI pipeline with this commit will regenerate
the Docker image of `asapo-packages-manylinux-build-env` that will be
based on a newer version of `quay.io/pypa/manylinux2014_x86_64`. The old
version contained links to obsolete `yum` repositories and executing
`yum update -y` was failing:

```
$ yum update -y
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org?arch=x86_64&release=7&repo=sclo-rh error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
epel/x86_64/metalink                                                                                                                                                                              | 5.1 kB  00:00:00
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=container error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=container error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
 * base: mirror.speedkom.de
 * centos-sclo-rh: mirror.rackspeed.de
 * epel: ftp-stud.hs-esslingen.de
 * extras: mirror.rackspeed.de
 * updates: mirror.init7.net
http://artfiles.org/centos.org/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

base                                                                                                                                                                                              | 3.6 kB  00:00:00
centos-sclo-rh                                                                                                                                                                                    | 3.0 kB  00:00:00
epel                                                                                                                                                                                              | 4.3 kB  00:00:00
extras                                                                                                                                                                                            | 2.9 kB  00:00:00
http://centos.mirror.transip.nl/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.init7.net/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centosmirror.netcup.net/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.vimexx.nl/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.rz.uni-frankfurt.de/pub/mirrors/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.anexia.at/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.centos.behostings.net/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.previder.nl/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.rezopole.net/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
(1/2): epel/x86_64/updateinfo                                                                                                                                                                     | 1.0 MB  00:00:00
(2/2): epel/x86_64/primary_db                                                                                                                                                                     | 8.7 MB  00:00:03
Resolving Dependencies
--> Running transaction check
---> Package bind-license.noarch 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-license.noarch 32:9.11.4-26.P2.el7_9.16 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================================================================
 Package                                             Arch                                          Version                                                          Repository                                      Size
=========================================================================================================================================================================================================================
Updating:
 bind-license                                        noarch                                        32:9.11.4-26.P2.el7_9.16                                         updates                                         92 k

Transaction Summary
=========================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 92 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
bind-license-9.11.4-26.P2.el7_ FAILED
http://centos.mirror.transip.nl/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                                  ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://mirror.init7.net/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                                   ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://centosmirror.netcup.net/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                            ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://mirror.vimexx.nl/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                                   ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://ftp.rz.uni-frankfurt.de/pub/mirrors/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://centos.anexia.at/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                                   ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://mirrors.centos.behostings.net/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                      ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://mirror.previder.nl/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                                 ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-license-9.11.4-26.P2.el7_ FAILED
http://ftp.rezopole.net/centos/7.9.2009/updates/x86_64/Packages/bind-license-9.11.4-26.P2.el7_9.16.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                                   ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.

Error downloading packages:
  32:bind-license-9.11.4-26.P2.el7_9.16.noarch: [Errno 256] No more mirrors to try.
```

Fixing the links to the obsolete `yum` repositories was a pain (from
`mirror` to `vault`), and it was much easier to use a base Docker image
where these problems are already fixed.
parent 443e5747
No related branches found
No related tags found
1 merge request!259ci: update and set version of Docker container `quay.io/pypa/manylinux2014_x86_64`
Pipeline #129439 failed
FROM quay.io/pypa/manylinux2014_x86_64
FROM quay.io/pypa/manylinux2014_x86_64:2024.07.23-1
RUN yum install -y libcurl-devel libfabric-devel
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment