Last active
December 13, 2017 14:37
-
-
Save jonbinney/7365141 to your computer and use it in GitHub Desktop.
Dockerfile for ROS hydro on ubuntu precise
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:precise | |
# ubuntu precise image doesn't have universe repo | |
run echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
run apt-get update | |
RUN apt-get install -y wget | |
# install ROS | |
RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list' | |
RUN wget http://packages.ros.org/ros.key -O - | apt-key add - | |
RUN apt-get update | |
RUN apt-get install -y ros-hydro-desktop-full | |
# install fake vnc desktop | |
run apt-get install -y x11vnc xvfb | |
run mkdir /.vnc | |
# Setup a password | |
run x11vnc -storepasswd 1234 ~/.vnc/passwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment