Skip to content

Commit 6abe6f7

Browse files
authored
build(lib): Update manylinux container to 2_28 (#3787)
- Updates to manylinux_2_28 - Updates the build container to almalinux 8, same which is used for the manylinux_2_28 container Fixes: #3785
1 parent 2392ad7 commit 6abe6f7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

py/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- Build wheels with manylinux_2_28 and alma linux 8. [#3787](https://github.com/getsentry/relay/pull/3787)
6+
37
## 0.8.67
48

59
### Various fixes & improvements

py/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amd64/centos:7
1+
FROM almalinux:8
22

33
# This must be lower case - used in the paths and packages names
44
ARG TARGET
@@ -9,11 +9,7 @@ RUN yum -y update \
99
perl-core openssl openssl-devel pkgconfig libatomic \
1010
&& if [ "$(uname -m)" != ${TARGET} ]; then \
1111
yum install -y "binutils-${TARGET}-linux-gnu" "gcc-${TARGET}-linux-gnu" "gcc-c++-${TARGET}-linux-gnu" \
12-
&& if [ ${TARGET} == "aarch64" ]; then \
13-
curl -L -s https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7-aarch64 > /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7-aarch64 \
14-
&& cat /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7-aarch64 >> /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 ; \
15-
fi \
16-
&& dnf --forcearch "${TARGET}" --release 7 install -y gcc glibc glibc-devel --installroot "/usr/${TARGET}-linux-gnu/sys-root/" || true \
12+
&& dnf --forcearch "${TARGET}" --releasever=8 install -y gcc glibc glibc-devel --installroot "/usr/${TARGET}-linux-gnu/sys-root/" || true \
1713
&& ln -s "/usr/${TARGET}-linux-gnu/sys-root/usr/lib64/libgcc_s.so.1" "/usr/${TARGET}-linux-gnu/sys-root/usr/lib64/libgcc_s.so"; \
1814
fi \
1915
&& yum clean all \

scripts/docker-manylinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ docker run \
3434
-v "$(pwd):/work" \
3535
-e SKIP_RELAY_LIB_BUILD=1 \
3636
-e CARGO_BUILD_TARGET \
37-
quay.io/pypa/manylinux2014_${TARGET} \
37+
quay.io/pypa/manylinux_2_28_${TARGET} \
3838
sh manylinux.sh
3939

4040
# Fix permissions for shared directories

0 commit comments

Comments
 (0)