diff --git a/Dockerfile b/Dockerfile index 7e91ad5..09d12b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -#FROM ubuntu:18.04 -FROM nvidia/vulkan:1.1.121-cuda-10.1--ubuntu18.04 +FROM ubuntu:18.04 +#FROM nvidia/opengl:1.2-glvnd-runtime-ubuntu18.04 +#FROM nvidia/vulkan:1.1.121-cuda-10.1--ubuntu18.04 # Make all NVIDIA GPUS visible, but I want to manually install drivers ARG NVIDIA_VISIBLE_DEVICES=all @@ -34,7 +35,9 @@ software-properties-common \ xsel \ xdg-user-dirs \ + python \ python-pip \ + python-dev \ python-protobuf \ python-pexpect \ pcl-tools \ @@ -83,7 +86,6 @@ zip \ unzip \ git \ - python \ kmod \ libc6:i386 \ pkg-config \ @@ -182,10 +184,10 @@ # novnc # download websockify as well -RUN wget https://github.com/novnc/noVNC/archive/v1.1.0.zip && \ - unzip -q v1.1.0.zip && \ - rm -rf v1.1.0.zip && \ - git clone https://github.com/novnc/websockify /noVNC-1.1.0/utils/websockify +RUN wget https://github.com/novnc/noVNC/archive/v1.2.0.zip && \ + unzip -q v1.2.0.zip && \ + rm -rf v1.2.0.zip && \ + git clone https://github.com/novnc/websockify /noVNC-1.2.0/utils/websockify # Xorg segfault error # dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory) @@ -205,16 +207,13 @@ cd /opt/carla-simulator && \ apt-get update && apt-get install -y --no-install-recommends \ carla-simulator=0.9.10-1 \ - libxerces-c-dev python-dev python3-dev iproute2 && \ + libxerces-c-dev iproute2 && \ rm -rf /var/lib/apt/lists/* && \ - echo "export PYTHONPATH=$PYTHONPATH:/opt/carla-simulator/PythonAPI/carla/dist/carla-0.9.10-py2.7-linux-x86_64.egg:/opt/carla-simulation/PythonAPI/carla" >> ~/.bashrc && \ - pip install --upgrade setuptools && \ - pip install \ - wheel \ - simple-pid \ + echo "export PYTHONPATH=$PYTHONPATH:/opt/carla-simulator/PythonAPI/carla/dist/carla-0.9.10-py2.7-linux-x86_64.egg:/opt/carla-simulation/PythonAPI/carla" >> ~/.bashrc +RUN pip install --upgrade setuptools wheel && \ + pip install simple-pid \ numpy \ pygame \ - transforms3d \ future \ matplotlib \ open3d \ @@ -228,12 +227,13 @@ mkdocs \ markdown-include \ mkdocs-redirects \ - networkx - + networkx \ + transforms3d \ + decorator==5.0.0 COPY AdditionalMaps_0.9.10.1.tar.gz /home/$USERNAME/ RUN tar xfvz /home/$USERNAME/AdditionalMaps_0.9.10.1.tar.gz -C /opt/carla-simulator/ && \ - rm /home/$USERNAME/AdditionalMaps_0.9.10.1.tar.gz && \ - mkdir -p /home/$USERNAME/.config && \ + rm /home/$USERNAME/AdditionalMaps_0.9.10.1.tar.gz +RUN mkdir -p /home/$USERNAME/.config && \ chmod -R 777 /home/$USERNAME/.config COPY run.sh /run.sh diff --git a/log.log b/log.log new file mode 100644 index 0000000..d41026f --- /dev/null +++ b/log.log Binary files differ diff --git a/run.sh b/run.sh index a3d37a9..7b743ee 100755 --- a/run.sh +++ b/run.sh @@ -20,7 +20,7 @@ # sleep 2 # 3. start noVNC -/noVNC-1.1.0/utils/launch.sh --vnc localhost:5900 --listen 8081 & +/noVNC-1.2.0/utils/launch.sh --vnc localhost:5900 --listen 8081 & sleep 2 echo 'running noVNC at http://localhost:8081/vnc.html?host=localhost&port=8081'