forked from Hibikino-Musashi-Home/hma_wrs_sim_ws
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
47 lines (40 loc) · 2.33 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
42
43
44
45
46
47
FROM ghcr.io/haganelego/hma_ros_docker/hma_ros:melodic-cuda11.2.2-cudnn8-simulator
SHELL [ "/bin/bash", "-c" ]
ENV HOME /home
# create workspace folder
RUN mkdir -p $HOME/ros_ws/hma/hma_wrs_sim_ws
RUN mkdir -p $HOME/ros_ws/hma/cv_bridge_ws
# install dependencies defined in package.xml
RUN rosdep init && rosdep update
# build cv_bridge, image_geometry
RUN source /opt/ros/melodic/setup.bash && \
cd $HOME/ros_ws/hma/cv_bridge_ws && \
mkdir install && \
mkdir src && \
catkin config -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.6m.so && \
catkin config --install && \
git clone https://github.com/ros-perception/vision_opencv.git src/vision_opencv && \
cd src/vision_opencv/ && \
git checkout 1.13.0 && \
cd ../../ && \
catkin build cv_bridge && \
catkin build image_geometry
# # copy files
ADD ./scripts $HOME/ros_ws/hma/hma_wrs_sim_ws/scripts
ADD ./src/03_tmc/deb $HOME/setup/deb
# install hsrb package
RUN cd $HOME/setup/deb && \
dpkg -i ros-melodic-tarp3_0.6.0-1.bionic.20210617.2331.+0000_amd64.deb && \
dpkg -i ros-melodic-tarp3-urdf_0.6.0-1.bionic.20210617.2331.+0000_amd64.deb && \
dpkg -i ros-melodic-tmc-navigation-msgs_0.24.0-1.bionic.20211108.0234.+0000_amd64.deb && \
dpkg -i ros-melodic-tmc-pose-2d-lib_0.30.1-1.bionic.20211108.0503.+0000_amd64.deb && \
dpkg -i ros-melodic-tmc-omni-path-follower_0.30.1-1.bionic.20211108.0503.+0000_amd64.deb && \
dpkg -i ros-melodic-tmc-control-msgs_0.9.2-1.bionic.20211108.0259.+0000_amd64.deb && \
dpkg -i ros-melodic-tmc-manipulation-types_0.32.1-1.bionic.20211108.0324.+0000_amd64.deb && \
dpkg -i ros-melodic-tmc-robot-kinematics-model_0.32.1-1.bionic.20211108.0324.+0000_amd64.deb && \
dpkg -i ros-melodic-hsrb-analytic-ik_0.29.4-1.bionic.20211108.0549.+0000_amd64.deb && \
dpkg -i ros-melodic-hsrb-parts-description_0.20.5-1.bionic.20211104.0057.+0000_amd64.deb && \
dpkg -i ros-melodic-hsrb-description_0.20.5-1.bionic.20211104.0057.+0000_amd64.deb && \
dpkg -i ros-melodic-hsrb-moveit-config_1.0.0-2.bionic.20220309.2325.+0000.29cd601_amd64.deb && \
dpkg -i ros-melodic-hsrb-moveit-plugins_0.6.3-2.bionic.20220309.2325.+0000.29cd601_amd64.deb && \
dpkg -i ros-melodic-hsrb-moveit_0.6.3-2.bionic.20220309.2325.+0000.29cd601_amd64.deb