Skip to content

Commit

Permalink
install gclibc through dnf?
Browse files Browse the repository at this point in the history
  • Loading branch information
iker-barriocanal committed Oct 10, 2023
1 parent 8e3400b commit b2b5ae1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ RUN if [ ${BUILD_ARCH} == "aarch64" ]; then \
yum -y install git make libffi-devel curl dnf ca-certificates \
&& 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 \
&& yum -y install gcc glibc glibc-devel gcc-aarch64-linux-gnu \
# && yum -y install gcc glibc glibc-devel gcc-aarch64-linux-gnu \
&& dnf -y --release 7 install gcc glibc glibc-devel gcc-aarch64-linux-gnu \
&& dnf -y --release 7 --forcearch aarch64 --installroot "/usr/aarch64-linux-gnu/sys-root/" install gcc glibc glibc-devel \
&& ln -s "/usr/aarch64-linux-gnu/sys-root/lib64/libgcc_s.so.1" "/usr/aarch64-linux-gnu/sys-root/lib64/libgcc_s.so" \
# NOTE(iker): work-around to create a cmake toolchain file for arch-specific
Expand Down

0 comments on commit b2b5ae1

Please sign in to comment.