Update: New Dockerfile to support OpenGL and Vulkan in headless mode
* Support for OpenGL and Vulkan in headless mode
This commit is contained in:
parent
d0ec9e85b8
commit
ebbf2748b9
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue