Last active
October 19, 2017 07:03
-
-
Save xuanthuong/ad76e7bd5fac71d97e6c92b1261046ce to your computer and use it in GitHub Desktop.
Dockerfile for ROS hydro on ubuntu precise from jonbinney
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
# This file is copied from https://gist.github.com/jonbinney/7365141 | |
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