Skip to content

Commit

Permalink
Update build-images to fix bladebit CI (#94)
Browse files Browse the repository at this point in the history
* fix old glibc

* more accurate commands

* correct some things

* Update Dockerfile
  • Loading branch information
wallentx authored Feb 4, 2025
1 parent fe5c8a3 commit 770e562
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions manylinux_cuda_aarch64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM quay.io/pypa/manylinux_2_28_aarch64
FROM quay.io/pypa/manylinux_2_34_aarch64

ENV PATH=/usr/local/cuda-12.5/bin${PATH:+:${PATH}}
ENV PATH=/usr/local/cuda/bin${PATH:+:${PATH}}

RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
RUN dnf update -y && \
dnf install -y epel-release && \
dnf install -y kernel-headers.aarch64 kernel-devel.aarch64 && \
dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel9/aarch64/cuda-rhel9.repo && \
dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel9/sbsa/cuda-rhel9.repo && \
Expand Down
14 changes: 7 additions & 7 deletions manylinux_cuda_x86_64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM quay.io/pypa/manylinux_2_28_x86_64
FROM quay.io/pypa/manylinux_2_34_x86_64

ENV PATH=/usr/local/cuda-12.5/bin${PATH:+:${PATH}}
ENV PATH=/usr/local/cuda/bin${PATH:+:${PATH}}

RUN dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo && \
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
dnf clean all && \
dnf -y module install nvidia-driver:latest-dkms && \
dnf -y install cuda-toolkit
RUN dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo && \
dnf install -y epel-release && \
dnf clean expire-cache && \
dnf module enable -y nvidia-driver:560-open && \
dnf install -y cuda

0 comments on commit 770e562

Please sign in to comment.