diff options
Diffstat (limited to 'Tools/ros/docker/px4-ros/Dockerfile')
-rw-r--r-- | Tools/ros/docker/px4-ros/Dockerfile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Tools/ros/docker/px4-ros/Dockerfile b/Tools/ros/docker/px4-ros/Dockerfile new file mode 100644 index 000000000..532a9af8b --- /dev/null +++ b/Tools/ros/docker/px4-ros/Dockerfile @@ -0,0 +1,42 @@ +# +# Base ROS Indigo +# + +FROM ubuntu:14.04.1 +MAINTAINER Andreas Antener "andreas@antener.name" + +# Install basics +RUN apt-get update \ + && apt-get -y install wget git mercurial + +# Main ROS Setup +# Following http://wiki.ros.org/indigo/Installation/Ubuntu +# Also adding dependencies for gazebo http://gazebosim.org/tutorials?tut=drcsim_install + +## add ROS repositories and keys +## install main ROS pacakges +RUN echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list \ + && wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | apt-key add - \ + && apt-get update \ + && apt-get -y install ros-indigo-desktop-full + +RUN rosdep init \ + && rosdep update + +## setup environment variables +RUN echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc + +## get rosinstall +RUN apt-get -y install python-rosinstall + +## additional dependencies +RUN apt-get -y install ros-indigo-octomap-msgs + + +## install drcsim +#RUN echo "deb http://packages.osrfoundation.org/drc/ubuntu trusty main" > /etc/apt/sources.list.d/drc-latest.list \ +# && wget http://packages.osrfoundation.org/drc.key -O - | apt-key add - \ +# && apt-get update \ +# && apt-get -y install drcsim + +CMD /bin/bash |