Skip to content

Commit 90701ff

Browse files
[UX]: Replace conda with uv in dstack's default Docker image #2625
* Updated CUDA to 12.1.1 * Use NVIDIA's devel image
1 parent cb7f33d commit 90701ff

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
uses: docker/setup-qemu-action@v3
6161
- name: Build and upload to DockerHub
6262
run: |
63-
docker buildx build --platform linux/amd64 --build-arg PYTHON=${{ matrix.python }} --push --provenance=false --tag dstackai/base:py${{ matrix.python }}-${{ inputs.image_version }}-cuda-12.1 -f base/Dockerfile .
64-
docker buildx build --platform linux/amd64 --build-arg PYTHON=${{ matrix.python }} --build-arg VERSION=${{ inputs.image_version }} --push --provenance=false --tag dstackai/base:py${{ matrix.python }}-${{ inputs.image_version }}-cuda-12.1-devel -f base/devel.Dockerfile .
63+
docker buildx build --platform linux/amd64 --build-arg FLAVOR=base --build-arg PYTHON=${{ matrix.python }} --push --provenance=false --tag dstackai/base:py${{ matrix.python }}-${{ inputs.image_version }}-cuda-12.1 -f base/Dockerfile .
64+
docker buildx build --platform linux/amd64 --build-arg FLAVOR=devel --build-arg PYTHON=${{ matrix.python }} --build-arg VERSION=${{ inputs.image_version }} --push --provenance=false --tag dstackai/base:py${{ matrix.python }}-${{ inputs.image_version }}-cuda-12.1-devel -f base/devel.Dockerfile .
6565
6666
build-aws-images:
6767
needs: build-docker

docker/base/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM nvidia/cuda:12.1.0-base-ubuntu20.04
1+
ARG FLAVOR
2+
FROM nvidia/cuda:12.1.1-${FLAVOR}-ubuntu20.04
23

34
ARG PYTHON
45
ARG _UV_HOME="/opt/uv"

docker/base/devel.Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)