Skip to content

Commit bd6f20d

Browse files
committed
Add modal CI CUDA image
1 parent c722bda commit bd6f20d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/container_images.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
- name: RockyLinux-9/CUDA-12.8.1
4343
image: "rust-gpu/rust-cuda-rockylinux9-cuda12"
4444
dockerfile: ./container/rockylinux9-cuda12/Dockerfile
45+
- name: Ubuntu-24.04/CUDA-12.8.1/Modal-CI
46+
image: "rust-gpu/rust-cuda-modal-ci"
47+
dockerfile: ./container/modal-ci/Dockerfile
4548
steps:
4649
- name: Checkout repository
4750
uses: actions/checkout@v4
@@ -124,6 +127,8 @@ jobs:
124127
image: "rust-gpu/rust-cuda-ubuntu24-cuda12"
125128
- name: RockyLinux-9/CUDA-12.8.1
126129
image: "rust-gpu/rust-cuda-rockylinux9-cuda12"
130+
- name: Ubuntu-24.04/CUDA-12.8.1/Modal-CI
131+
image: "rust-gpu/rust-cuda-modal-ci"
127132
steps:
128133
- name: Set artifact name
129134
run: |

container/modal-ci/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda12:latest
2+
3+
RUN apt-get update && \
4+
DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip python3-venv && \
5+
ln -sf /usr/bin/python3 /usr/local/bin/python && \
6+
apt-get clean && rm -rf /var/lib/apt/lists/*
7+
8+
CMD ["python", "--version"]

0 commit comments

Comments
 (0)