forked from ethz-asl/mav_active_3d_planning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
51 lines (47 loc) · 1.44 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
FROM ros:noetic
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Zurich
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt update && apt-get install -y --no-install-recommends \
ros-noetic-cmake-modules \
ros-noetic-control-toolbox \
ros-noetic-joy \
ros-noetic-octomap-ros \
ros-noetic-mavlink \
ros-noetic-geographic-msgs \
ros-noetic-eigen-conversions \
ros-noetic-tf-conversions \
ros-noetic-angles \
ros-noetic-tf2-eigen \
ros-noetic-rqt-gui \
ros-noetic-rqt-gui-py \
ros-noetic-gazebo-msgs \
ros-noetic-rviz \
ros-noetic-cv-bridge \
ros-noetic-pcl-ros \
ros-noetic-gazebo-plugins \
qt5-default qt5-qmake qtbase5-dev-tools qt5-doc \
autoconf \
libtool \
libyaml-cpp-dev \
protobuf-compiler \
libgoogle-glog-dev \
liblapacke-dev \
libgeographic-dev \
python3-pip \
git \
wget \
rsync
RUN python3 -m pip install future unrealcv catkin-tools
RUN mkdir -p /ws/src/mav_active_3d_planning
WORKDIR /ws
RUN catkin init \
&& catkin config --extend /opt/ros/noetic \
&& catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release \
&& catkin config --merge-devel
WORKDIR /ws/src
COPY mav_active_3d_planning_https.rosinstall /ws/src/.rosinstall
RUN wstool update
RUN catkin build eigen_catkin grpc yaml_cpp_catkin
COPY . /ws/src/mav_active_3d_planning
RUN . /ws/devel/setup.sh && catkin build mav_active_3d_planning