Skip to content

Commit 7abf5fa

Browse files
committed
Use Apache license for images
This change removes the NGC-DL-CONTAINER-LICENSE (since this is not available in the distroless images) and includes the repo's Apache LICENSE file in the image. Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 28ddc14 commit 7abf5fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deployments/container/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ LABEL release="N/A"
8181
LABEL summary="deb and rpm packages for the NVIDIA Container Toolkit"
8282
LABEL description="See summary"
8383

84+
COPY LICENSE /licenses/
85+
8486
# The debpackages stage is used to extract the contents of deb packages.
8587
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubuntu20.04 AS debpackages
8688

@@ -146,7 +148,6 @@ ENV NVIDIA_DRIVER_CAPABILITIES=utility
146148
COPY --from=artifacts /artifacts/rpm /artifacts/rpm
147149
COPY --from=artifacts /artifacts/deb /artifacts/deb
148150
COPY --from=artifacts /artifacts/build /work
149-
COPY --from=artifacts /NGC-DL-CONTAINER-LICENSE /licenses/NGC-DL-CONTAINER-LICENSE
150151

151152
WORKDIR /work
152153
ENV PATH=/work:$PATH
@@ -160,4 +161,6 @@ LABEL release="N/A"
160161
LABEL summary="Automatically Configure your Container Runtime for GPU support."
161162
LABEL description="See summary"
162163

164+
COPY LICENSE /licenses/
165+
163166
ENTRYPOINT ["/work/nvidia-ctk-installer"]

0 commit comments

Comments
 (0)