-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
44 lines (36 loc) · 1.58 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM ct2034/vnc-ros-kinetic-full
# General
RUN apt-get update -y\
&& apt-get install -y --no-install-recommends wget
RUN rm -rf /var/lib/apt/list/*
# Install ROS-Industrial + universal robot
RUN rosdep update \
&& apt-get update -y \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends ros-kinetic-industrial-core \
&& apt-get install -y --no-install-recommends ros-kinetic-universal-robot \
&& apt-get install -y --no-install-recommends ros-kinetic-moveit \
&& apt-get install -y --no-install-recommends ros-kinetic-moveit-visual-tools
# Install OpenIGTLink under /root/igtl
RUN mkdir igtl \
&& cd igtl \
&& git clone https://github.com/openigtlink/OpenIGTLink \
&& mkdir OpenIGTLink-build \
&& cd OpenIGTLink-build \
&& cmake -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_EXAMPLES:BOOL=ON ../OpenIGTLink \
&& make
# Setup ROS-IGTL-Bridge
RUN mkdir -p /root/catkin_ws/src \
&& cd /root/catkin_ws \
&& /bin/bash -c "source /opt/ros/kinetic/setup.bash; catkin_make" \
&& cd /root/catkin_ws/src \
&& git clone https://github.com/openigtlink/ROS-IGTL-Bridge \
&& git clone https://github.com/rosmed/ismr19_moveit \
&& git clone https://github.com/rosmed/ismr19_description \
&& git clone https://github.com/rosmed/ismr19_control \
&& cd /root/catkin_ws \
&& /bin/bash -c "source /opt/ros/kinetic/setup.bash; catkin_make --cmake-args -DOpenIGTLink_DIR:PATH=/root/igtl/OpenIGTLink-build"
# Downlaod data for tutorial
RUN mkdir /root/models \
&& cd /root/models \
&& wget -O ismr19.scene https://bit.ly/2OpSdKM