-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
43 lines (38 loc) · 1.04 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
FROM ros:melodic
RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
git \
bash-completion \
build-essential \
sudo \
ros-melodic-image-geometry \
ros-melodic-pcl-ros \
ros-melodic-cv-bridge \
ros-melodic-image-proc \
ros-melodic-image-transport \
ros-melodic-tf-conversions \
ros-melodic-camera-info-manager \
ros-melodic-rviz \
ros-melodic-interactive-markers \
autotools-dev \
automake \
libtool \
apt-utils \
cmake build-essential unzip pkg-config autoconf \
libboost-all-dev \
libjpeg-dev libpng-dev libtiff-dev \
libvtk6-dev libgtk-3-dev \
libatlas-base-dev gfortran \
libparmetis-dev \
python-wstool python-catkin-tools \
libtbb-dev \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p ${HOME}/catkin_ws/src
WORKDIR /root/catkin_ws/src
COPY catkin_ws/src .
WORKDIR /root/catkin_ws
RUN catkin init
RUN catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release -DGTSAM_TANGENT_PREINTEGRATION=OFF
RUN catkin config --merge-devel
SHELL [ "/bin/bash" , "-c" ]
RUN source /opt/ros/melodic/setup.bash && catkin build -j6