Skip to content

Commit

Permalink
Docker: Run ldconfig after we install everything to rebuild `ld.so.…
Browse files Browse the repository at this point in the history
…cache` and

work around this failure on Debian: NVIDIA/nvidia-docker#1399
  • Loading branch information
brycelelbach committed Oct 14, 2020
1 parent 5c46864 commit 8271187
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ RUN if [[ "${OS_TYPE}" == "ubuntu"* ]]; then \
export CUDACXX=$(which nvc++); \
${ALTERNATIVES} --install /usr/bin/cu++ cu++ $(which nvc++) 99; \
${ALTERNATIVES} --set cu++ $(which nvc++); \
fi;
fi; \
ldconfig;

ENTRYPOINT [ "/usr/bin/tini", "--" ]
CMD [ "/bin/bash" ]

0 comments on commit 8271187

Please sign in to comment.