Skip to content

Instantly share code, notes, and snippets.

@blebo
Forked from jonbinney/Dockerfile
Last active August 29, 2015 14:01
Show Gist options
  • Save blebo/99b105b8ed3e500facc0 to your computer and use it in GitHub Desktop.
Save blebo/99b105b8ed3e500facc0 to your computer and use it in GitHub Desktop.
Updated for Ubuntu 13.04 (raring), due to dep errors when installing ros.
FROM ubuntu:raring
# ubuntu raring image doesn't have universe repo
run echo "deb http://archive.ubuntu.com/ubuntu raring 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 raring 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