diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..1bd17a0a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,47 @@ +FROM ros:indigo + +RUN apt-get update && apt-get install -y \ + python-catkin-pkg python-rosdep python-wstool \ + python-catkin-tools ros-indigo-catkin \ + && rm -rf /var/lib/apt/lists + +ENV CATKIN_WS=/root/catkin_ws +RUN rm /bin/sh \ + && ln -s /bin/bash /bin/sh + +RUN source /ros_entrypoint.sh \ + && mkdir -p $CATKIN_WS/src \ + && cd $CATKIN_WS \ + && catkin init \ + && cd $CATKIN_WS/src \ + && git clone https://github.com/ICRA2017/costar_stack.git \ + && git clone https://github.com/SalvoVirga/iiwa_stack.git \ + && git clone https://github.com/ros-industrial/robotiq.git \ + && git clone https://github.com/jbohren/rqt_dot.git \ + && git clone https://github.com/sniekum/ar_track_alvar.git \ + && git clone https://github.com/sniekum/ar_track_alvar_msgs.git \ + && git clone https://github.com/gt-ros-pkg/hrl-kdl.git \ + && git clone https://github.com/xqms/ur_modern_driver.git --branch thread_safety \ + && git clone https://github.com/jhu-lcsr/ObjRecRANSAC.git + +RUN apt-get update && apt-get install -y \ + software-properties-common \ + && rm -rf /var/lib/apt/lists + +RUN add-apt-repository --yes ppa:v-launchpad-jochen-sprickerhof-de/pcl \ + && apt-get update && apt-get install -y libpcl-all \ + && rm -rf /var/lib/apt/lists + +RUN add-apt-repository --yes ppa:xqms/opencv-nonfree \ + && apt-get update && apt-get install -y libopencv-nonfree-dev \ + && rm -rf /var/lib/apt/lists + +RUN source /ros_entrypoint.sh \ + && apt-get update \ + && cd $CATKIN_WS/src \ + && rosdep install -y --from-paths ./ --ignore-src --rosdistro indigo + +RUN source /ros_entrypoint.sh \ + && cd $CATKIN_WS \ + && catkin build + \ No newline at end of file diff --git a/Readme.md b/Readme.md index a9a85709..09ad65c8 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,7 @@ ***Collaborative System for Task Automation and Recognition*** -[![Build Status](https://travis-ci.org/cpaxton/costar_stack.svg?branch=master)](https://travis-ci.org/cpaxton/costar_stack) +[![Build Status](https://travis-ci.org/ICRA2017/costar_stack.svg?branch=reproducible)](https://travis-ci.org/ICRA2017/costar_stack) CoSTAR is an end-user interface for authoring robot task plans developed at Johns Hopkins University. It includes integrated perception and planning capabilities, plus a Behavior Tree based user interface. @@ -100,3 +100,5 @@ CoSTAR is maintained by Chris Paxton (cpaxton@jhu.edu). Other core contributors include: * Felix Jonathan * Andrew Hundt + +## Run in Docker