From 8271187895479141e5f51580e6e75c223049d250 Mon Sep 17 00:00:00 2001 From: Bryce Adelstein Lelbach aka wash Date: Tue, 13 Oct 2020 17:22:35 -0700 Subject: [PATCH] Docker: Run `ldconfig` after we install everything to rebuild `ld.so.cache` and work around this failure on Debian: https://github.com/NVIDIA/nvidia-docker/issues/1399 --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index cd13f8de84b..c8406d50c3a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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" ]