Skip to content

Commit 6070681

Browse files
committed
Create /work/nvidia-toolkit symlink
This change ensures that a symlink from /work/nvidia-toolkit to /work/nvidia-ctk-installer exists to allow GPU Operator versions that override the entrypoint and assume nvidia-toolkit as the original entrypoint. Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 69b0f0b commit 6070681

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deployments/container/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,8 @@ LABEL description="See summary"
164164
COPY LICENSE /licenses/
165165

166166
ENTRYPOINT ["/work/nvidia-ctk-installer"]
167+
168+
# The GPU Operator exec's nvidia-toolkit in its entrypoint.
169+
# We create a symlink here to ensure compatibility with older
170+
# GPU Operator versions.
171+
RUN ln -s /work/nvidia-ctk-installer /work/nvidia-toolkit

0 commit comments

Comments
 (0)