Skip to content

Commit 0bcbfd9

Browse files
authored
feat: minimize image size (#5)
* feat: minimize image size
1 parent f9a50ae commit 0bcbfd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
tags: radixai/python-gpu:${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}
3333

3434
- name: Test Docker image
35-
run: docker run --rm radixai/python-gpu:${{ matrix.python-version }}-cuda${{ matrix.cuda-version }} nvcc --version
35+
run: docker run --rm radixai/python-gpu:${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN CONDA_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "x86_64")
1616
ENV PATH=/opt/conda/bin:$PATH
1717

1818
# Install CUDA.
19-
RUN conda install --channel nvidia --yes cuda="$CUDA_VERSION"
19+
RUN conda install --channel nvidia --yes cuda-runtime="$CUDA_VERSION"

0 commit comments

Comments
 (0)