mirror of
https://github.com/keylase/nvidia-patch.git
synced 2025-08-19 21:03:12 -07:00
dockerfile: add some reasonable ENV defaults
This commit is contained in:
parent
94222a8824
commit
389235cd92
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
FROM nvidia/cuda:latest
|
||||
|
||||
ENV NVIDIA_VISIBLE_DEVICES all
|
||||
ENV NVIDIA_DRIVER_CAPABILITIES compute,video,utility
|
||||
|
||||
RUN mkdir -p /usr/local/bin /patched-lib
|
||||
COPY patch.sh docker-entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/patch.sh /usr/local/bin/docker-entrypoint.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue