Skip to content

Commit

Permalink
Fix Dockerfile to make CI pass (#846)
Browse files Browse the repository at this point in the history
* update dockerfile

Signed-off-by: limengxuan <[email protected]>
  • Loading branch information
archlitchi authored Feb 5, 2025
1 parent ab547e4 commit 03eef07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ADD . /k8s-vgpu
#RUN --mount=type=cache,target=/go/pkg/mod \
# cd /k8s-vgpu && make all
RUN cd /k8s-vgpu && make all VERSION=$VERSION
RUN go install github.com/NVIDIA/mig-parted/cmd/nvidia-mig-parted@latest
RUN go install github.com/NVIDIA/mig-parted/cmd/nvidia-mig-parted@v0.10.0

FROM $NVIDIA_IMAGE AS nvbuild
COPY ./libvgpu /libvgpu
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.hamimaster
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ADD . /k8s-vgpu
ARG VERSION
RUN go env -w GO111MODULE=on
RUN cd /k8s-vgpu && make all VERSION=$VERSION
RUN go install github.com/NVIDIA/mig-parted/cmd/nvidia-mig-parted@latest
RUN go install github.com/NVIDIA/mig-parted/cmd/nvidia-mig-parted@v0.10.0

#FROM ubuntu:24.04
FROM nvidia/cuda:12.6.3-base-ubuntu22.04
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.withlib
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG GOPROXY=https://goproxy.cn,direct
ARG VERSION
RUN go env -w GO111MODULE=on
RUN cd /k8s-vgpu && make all VERSION=$VERSION
RUN go install github.com/NVIDIA/mig-parted/cmd/nvidia-mig-parted@latest
RUN go install github.com/NVIDIA/mig-parted/cmd/nvidia-mig-parted@v0.10.0

#FROM ubuntu:24.04
FROM harbor.4pd.io/sagegpt-aio/pk_platform/ubuntu:22.04
Expand Down

0 comments on commit 03eef07

Please sign in to comment.