Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions deployments/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ LABEL release="N/A"
LABEL summary="NVIDIA device plugin for Kubernetes"
LABEL description="See summary"

# We need this ldconfig config file otherwise when the `nvidia-ctk hook update-ldcache` hook kicks in,
# it may override the glibc and other libraries shipped with this container with the ones
# come from mounted driver libraries
# ref: https://github.com/NVIDIA/k8s-device-plugin/issues/1182
RUN echo "/lib64" > /etc/ld.so.conf.d/lib64.conf
RUN mkdir /licenses && mv /NGC-DL-CONTAINER-LICENSE /licenses/NGC-DL-CONTAINER-LICENSE

COPY --from=build /artifacts/config-manager /usr/bin/config-manager
Expand Down