Skip to content

Commit a419684

Browse files
committed
Update Linux packaging to build using AlmaLinux 8
Centos 7 reached its end of life in 2024. manylinux2014 also reached its end of life at the same time. AlmaLinux 8 is used for manylinux_2_28 support. This supports glibc 2.28 and later, which supports Linux OS's starting in August 2018. AlmaLinux 8 will be supported with security updates until 2029. These updates are necessary, not only because of the end of life dates that have been reached, but also because conda must now be ran on a system supporting glibc 2.28. Signed-off-by: Patrick Avery <[email protected]>
1 parent c1c97a2 commit a419684

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/container_build.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
#!/usr/bin/env bash
22
cd /github/workspace/
33

4-
# Use archive mirror for CentOS 7 until we are ready to migrate to CentOS 8
5-
sed -i -e 's/mirrorlist/#mirrorlist/g' \
6-
-e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \
7-
/etc/yum.repos.d/CentOS-*
8-
94
# Install dependencies
105
yum install -y wget git centos-release-scl ca-certificates
116

.github/workflows/package.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ jobs:
8080

8181
- name: Build the package (container)
8282
if: ${{ matrix.config.name == 'Linux' }}
83-
uses: docker://centos:7
83+
# AlmaLinux 8 is used for manylinux_2_28 support. This supports glibc
84+
# 2.28 and later, which supports linux OS's starting in August 2018.
85+
# AlmaLinux 8 will be supported with security updates until 2029.
86+
uses: docker://almalinux:8
8487
with:
8588
entrypoint: /github/workspace/.github/workflows/container_build.sh
8689

0 commit comments

Comments
 (0)