Update: New Dockerfile to support OpenGL and Vulkan in headless mode

* Support for OpenGL and Vulkan in headless mode
This commit is contained in:
German Ros 2019-12-04 15:16:16 -08:00 committed by bernat
parent d0ec9e85b8
commit ebbf2748b9
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# docker run -p 2000-2002:2000-2002 --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=ID carla:latest ./CarlaUE4.sh # docker run -p 2000-2002:2000-2002 --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=ID carla:latest ./CarlaUE4.sh
# -carla-rpc-port=2000 -carla-streaming-port=2001 # -carla-rpc-port=2000 -carla-streaming-port=2001
FROM nvidia/opengl:1.0-glvnd-runtime-ubuntu16.04 FROM nvidia/vulkan:1.1.121-cuda-10.1-alpha
RUN packages='libsdl2-2.0' \ RUN packages='libsdl2-2.0' \
&& apt-get update && apt-get install -y $packages --no-install-recommends \ && apt-get update && apt-get install -y $packages --no-install-recommends \