diff --git a/docker/generic/Dockerfile.cuda b/docker/generic/Dockerfile.cuda index 23c663eb88c..8500dd7a440 100644 --- a/docker/generic/Dockerfile.cuda +++ b/docker/generic/Dockerfile.cuda @@ -72,14 +72,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ rm -rf /var/lib/apt/lists/* COPY --from=nvidia/opengl:1.0-glvnd-runtime-ubuntu16.04 \ /usr/local/lib/x86_64-linux-gnu \ - /usr/local/lib/x86_64-linux-gnu + /usr/lib/x86_64-linux-gnu COPY --from=nvidia/opengl:1.0-glvnd-runtime-ubuntu16.04 \ /usr/local/share/glvnd/egl_vendor.d/10_nvidia.json \ /usr/local/share/glvnd/egl_vendor.d/10_nvidia.json RUN echo '/usr/local/lib/x86_64-linux-gnu' >> /etc/ld.so.conf.d/glvnd.conf && \ ldconfig && \ - echo '/usr/local/$LIB/libGL.so.1' >> /etc/ld.so.preload && \ - echo '/usr/local/$LIB/libEGL.so.1' >> /etc/ld.so.preload + echo '/usr/$LIB/libGL.so.1' >> /etc/ld.so.preload && \ + echo '/usr/$LIB/libEGL.so.1' >> /etc/ld.so.preload RUN apt update # nvidia-container-runtime ENV NVIDIA_VISIBLE_DEVICES \