Skip to content

Instantly share code, notes, and snippets.

@jonbinney
Last active December 13, 2017 14:37
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jonbinney/7365141 to your computer and use it in GitHub Desktop.
Save jonbinney/7365141 to your computer and use it in GitHub Desktop.
Dockerfile for ROS hydro on ubuntu precise
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