Skip to content

Commit e35bb56

Browse files
committed
Use symlink instead of wildcard
Maintained by Debian _alternatives_ system: ``` root@3442b01e46cf:/etc/ld.so.conf.d# ls -ald /usr/local/cuda lrwxrwxrwx 1 root root 22 Jan 20 19:52 /usr/local/cuda -> /etc/alternatives/cuda root@3442b01e46cf:/etc/ld.so.conf.d# ls -ald /etc/alternatives/cuda lrwxrwxrwx 1 root root 20 Jan 20 19:52 /etc/alternatives/cuda -> /usr/local/cuda-11.6 ```
1 parent 2ff485e commit e35bb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN chmod +x /gromacs/bin/gmx
4343
# "docker run --gpu 1" will bind /usr/lib/x86_64-linux-gnu/libcuda.so.1 found by
4444
# x86_64-linux-gnu.conf, however for non-CUDA execution we'll put this
4545
# as a fallback to avoid gmx warning messages about missing libcuda.so.1
46-
RUN echo /usr/local/cuda-*/compat > /etc/ld.so.conf.d/zz-cuda-compat.conf && \
46+
RUN echo /usr/local/cuda > /etc/ld.so.conf.d/zz-cuda-compat.conf && \
4747
ldconfig
4848

4949
# Environment variables

0 commit comments

Comments
 (0)