forked from b-it-bots/mas_domestic_robotics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (23 loc) · 843 Bytes
/
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
FROM bitbots/bitbots-common:kinetic
WORKDIR /kinetic
COPY mas-domestic.rosinstall /kinetic
RUN wstool init --shallow src && \
wstool merge -t src mas-domestic.rosinstall && \
cd src && \
wstool remove mas_domestic_robotics mas_common_robotics orocos_kinematics_dynamics kdl_parser && \
cd - && \
wstool update -t src
ADD . /kinetic/src/mas_domestic_robotics
RUN . /opt/ros/mas_stable/setup.sh && \
apt-get update -qq && \
rosdep update -q && \
rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y && \
rm -rf /var/lib/apt/lists/* && \
catkin config --init && \
catkin config --extend /opt/ros/mas_stable && \
catkin config --install --install-space /opt/ros/mas_stable && \
catkin build && \
rm -rf /kinetic/
WORKDIR /
ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["bash"]