Skip to content

Commit

Permalink
almalinux 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed Jul 4, 2024
1 parent bd1f2e7 commit 7ba962d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amd64/centos:7
FROM almalinux:8

# This must be lower case - used in the paths and packages names
ARG TARGET
Expand All @@ -13,7 +13,7 @@ RUN yum -y update \
curl -L -s https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7-aarch64 > /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7-aarch64 \
&& cat /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7-aarch64 >> /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 ; \
fi \
&& dnf --forcearch "${TARGET}" --release 7 install -y gcc glibc glibc-devel --installroot "/usr/${TARGET}-linux-gnu/sys-root/" || true \
&& dnf --forcearch "${TARGET}" --releasever=8 install -y gcc glibc glibc-devel --installroot "/usr/${TARGET}-linux-gnu/sys-root/" || true \
&& 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"; \
fi \
&& yum clean all \
Expand Down

0 comments on commit 7ba962d

Please sign in to comment.