File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,6 @@ COPY --from=minimal /tmp/package-list.minimal package-list.minimal
6060COPY deployments/container/cleanup/* .
6161
6262RUN ./cleanup.sh
63- # We need this ldconfig config file otherwise when the `nvidia-ctk hook update-ldcache` hook kicks in,
64- # it may override the glibc and other libraries shipped with this container with the ones
65- # come from mounted driver libraries
66- # ref: https://github.com/NVIDIA/k8s-device-plugin/issues/1182
67- RUN echo "/lib64" > /etc/ld.so.conf.d/lib64.conf
6863
6964WORKDIR /
7065
@@ -88,6 +83,11 @@ LABEL release="N/A"
8883LABEL summary="NVIDIA device plugin for Kubernetes"
8984LABEL description="See summary"
9085
86+ # We need this ldconfig config file otherwise when the `nvidia-ctk hook update-ldcache` hook kicks in,
87+ # it may override the glibc and other libraries shipped with this container with the ones
88+ # come from mounted driver libraries
89+ # ref: https://github.com/NVIDIA/k8s-device-plugin/issues/1182
90+ RUN echo "/lib64" > /etc/ld.so.conf.d/lib64.conf
9191RUN mkdir /licenses && mv /NGC-DL-CONTAINER-LICENSE /licenses/NGC-DL-CONTAINER-LICENSE
9292
9393COPY --from=build /artifacts/config-manager /usr/bin/config-manager
You can’t perform that action at this time.
0 commit comments