diff --git a/Dockerfile b/Dockerfile index 8814427..6a7cefd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,8 @@ groupmod --gid 1000 $USERNAME && \ chown -Rf $USERNAME.$USERNAME /home/$USERNAME && \ mkdir -p /home/$USERNAME/.cache && \ - chmod -R 777 /home/$USERNAME/.cache && \ - echo "alias m='cd /home/$USERNAME ; su $USERNAME'" >> /root/.bashrc + chmod -R 777 /home/$USERNAME/.cache + # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Failed to execute child process dbus-launch (No such file or directory) # fix by setting LANG https://askubuntu.com/questions/608330/problem-with-gnome-terminal-on-gnome-3-12-2 # to install locales https://stackoverflow.com/questions/39760663/docker-ubuntu-bin-sh-1-locale-gen-not-found @@ -161,10 +161,18 @@ # related? https://github.com/Microsoft/WSL/issues/2016 RUN apt-get update && apt-get install -y --no-install-recommends \ dbus-x11 \ - libdbus-c++-1-0v5 && \ + libdbus-c++-1-0v5 \ + software-properties-common && \ rm -rf /var/lib/apt/lists/* # (3) Run Xorg server + x11vnc + X applications # see run.sh for details +RUN echo "alias m='cd /home/$USERNAME ; su $USERNAME'" >> /home/kbkn/.bashrc +RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1AF1527DE64CB8D9 +RUN add-apt-repository "deb [arch=amd64] http://dist.carla.org/carla $(lsb_release -sc) main" +RUN apt-get update # Update the Debian package index +RUN apt-get install carla-simulator -y +RUN cd /opt/carla-simulator # +RUN apt-get install carla-simulator=0.9.10-1 -y COPY run.sh /run.sh CMD ["bash", "/run.sh"]