-
Notifications
You must be signed in to change notification settings - Fork 42
/
Dockerfile
64 lines (56 loc) · 1.84 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
FROM osrf/ros:noetic-desktop-full-focal
LABEL maintainer="Yue Erro <[email protected]>"
ARG REPO_WS=/tiago_public_ws
RUN mkdir -p $REPO_WS/src
WORKDIR $REPO_WS
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils \
libv4l-dev \
libv4l2rds0 \
git \
wget \
vim \
locales \
dpkg \
ssh \
curl \
aptitude \
g++ \
gcc \
openvpn \
gnupg \
bash-completion \
vim-gtk3 \
nano \
psmisc \
ccache \
gdb \
qtcreator \
htop \
man \
meld \
silversearcher-ag \
terminator \
tig \
valgrind \
iputils-ping \
ipython3 \
python-is-python3 \
python3-scipy \
python3-wstool \
python3-networkx \
python3-pip \
python3-vcstool \
python3-rosinstall \
python3-catkin-tools \
ros-noetic-actionlib-tools \
ros-noetic-moveit-commander \
&& rm -rf /var/lib/apt/lists/* \
&& wget https://raw.githubusercontent.com/pal-robotics/tiago_tutorials/noetic-devel/tiago_public-noetic.rosinstall \
&& vcs import src < tiago_public-noetic.rosinstall
ARG ROSDEP_IGNORE="urdf_test omni_drive_controller orocos_kdl pal_filters libgazebo9-dev pal_usb_utils speed_limit_node camera_calibration_files pal_moveit_plugins pal_startup_msgs pal_local_joint_control pal_pcl_points_throttle_and_filter current_limit_controller hokuyo_node dynamixel_cpp pal_moveit_capabilities pal_pcl dynamic_footprint gravity_compensation_controller pal-orbbec-openni2 pal_loc_measure pal_map_manager ydlidar_ros_driver"
RUN apt-get update && rosdep install --from-paths src --ignore-src -y --rosdistro noetic --skip-keys="${ROSDEP_IGNORE}"
RUN bash -c "source /opt/ros/noetic/setup.bash \
&& catkin build -DCATKIN_ENABLE_TESTING=0 -j $(expr `nproc` / 2) \
&& echo 'source $REPO_WS/devel/setup.bash' >> ~/.bashrc"
ENTRYPOINT ["bash"]