Skip to content

Instantly share code, notes, and snippets.

@blebo
Forked from jonbinney/Dockerfile
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save blebo/99b105b8ed3e500facc0 to your computer and use it in GitHub Desktop.

Select an option

Save blebo/99b105b8ed3e500facc0 to your computer and use it in GitHub Desktop.

Revisions

  1. blebo revised this gist May 16, 2014. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,12 @@
    FROM ubuntu:precise
    FROM ubuntu:raring

    # ubuntu precise image doesn't have universe repo
    run echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
    # 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 precise main" > /etc/apt/sources.list.d/ros-latest.list'
    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
  2. @jonbinney jonbinney revised this gist Nov 8, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Dockerfile
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ROM 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
  3. @jonbinney jonbinney renamed this gist Nov 8, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. @jonbinney jonbinney created this gist Nov 8, 2013.
    18 changes: 18 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    ROM 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