diff --git a/Dockerfile b/Dockerfile index ffcb0c7..859c945 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ -#FROM ubuntu:18.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 +#FROM nvidia/vulkan:1.1.121-cuda-10.1--ubuntu18.04 + LABEL maintainer="ikko@hosei.ac.jp" + RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list; ARG CARLA_VERSION_FULL=0.9.10.1 @@ -79,8 +81,8 @@ # Almost same procesure as nvidia/driver https://gitlab.com/nvidia/driver/blob/master/ubuntu16.04/Dockerfile # (1-1) Install prerequisites -RUN dpkg --add-architecture i386 && \ - apt-get update && apt-get install -y --no-install-recommends \ +#RUN dpkg --add-architecture i386 && \ +RUN apt-get update && apt-get install -y --no-install-recommends \ apt-utils \ build-essential \ ca-certificates \ @@ -91,11 +93,12 @@ unzip \ git \ kmod \ - libc6:i386 \ + libc6 \ pkg-config \ libelf-dev && \ rm -rf /var/lib/apt/lists/* +# libc6:i386 \ # (1-2) Install xorg server and xinit BEFORE INSTALLING NVIDIA DRIVER. # After this installation, command Xorg and xinit can be used in the container # if you need full ubuntu desktop environment, the line below should be added. @@ -135,7 +138,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ automake autoconf libssl-dev xorg-dev libvncserver-dev xdg-user-dirs xdg-utils && \ rm -rf /var/lib/apt/lists/* && \ - git clone https://github.com/LibVNC/x11vnc.git && \ + git clone -b 0.9.16 https://github.com/LibVNC/x11vnc.git && \ cd x11vnc && \ ./autogen.sh && \ make && \ diff --git a/run.sh b/run.sh index b545c1c..4c31fa4 100755 --- a/run.sh +++ b/run.sh @@ -1,7 +1,6 @@ # docker run --device=/dev/tty0:rw -it --rm --gpus all \ docker run --privileged -it --rm --gpus all \ -p 6080:8081 \ - -p 5901:5901 \ -p 2000-2002:2000-2002 \ -v /dev/shm:/dev/shm \ -e NVIDIA_VISIBLE_DEVICES=all \