mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
docker latest deps: added nvidia runtime stuff for convenience
This commit is contained in:
@@ -61,3 +61,9 @@ RUN source /ros_entrypoint.sh && \
|
||||
rm -rf rtabmap && \
|
||||
ldconfig
|
||||
|
||||
# nvidia-container-runtime
|
||||
ENV NVIDIA_VISIBLE_DEVICES \
|
||||
${NVIDIA_VISIBLE_DEVICES:-all}
|
||||
ENV NVIDIA_DRIVER_CAPABILITIES \
|
||||
${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics
|
||||
|
||||
|
||||
Reference in New Issue
Block a user