Skip to content

Commit 5f37569

Browse files
authored
Merge pull request #90 from NVIDIA/distroless-base-image
integrate distroless image
2 parents 9c2a129 + cf862c7 commit 5f37569

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

deployments/container/Dockerfile.ubi9

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ARG GIT_COMMIT="unknown"
3939
RUN make PREFIX=/artifacts cmds
4040

4141

42-
FROM nvcr.io/nvidia/cuda:12.8.0-base-ubi9
42+
FROM nvcr.io/nvidia/distroless/go:v3.1.8
4343

4444
ENV NVIDIA_VISIBLE_DEVICES=void
4545

@@ -54,12 +54,5 @@ LABEL name="NVIDIA vGPU Device Manager for Kubernetes"
5454
LABEL summary="NVIDIA vGPU Device Manager for Kubernetes"
5555
LABEL description="See summary"
5656

57-
58-
# Install / upgrade packages here that are required to resolve CVEs
59-
ARG CVE_UPDATES
60-
RUN if [ -n "${CVE_UPDATES}" ]; then \
61-
yum update -y ${CVE_UPDATES} && \
62-
rm -rf /var/cache/yum/*; \
63-
fi
64-
57+
USER 0:0
6558
ENTRYPOINT ["nvidia-k8s-vgpu-dm"]

0 commit comments

Comments
 (0)