forked from ethz-asl/kalibr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
45 lines (39 loc) · 1.08 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
FROM osrf/ros:kinetic-desktop-full
ENV CATKIN_WORKSPACE /home/catkin_ws
RUN apt-get update && apt-get install -y \
python-setuptools \
python-rosinstall \
ipython \
libeigen3-dev \
libboost-all-dev \
doxygen \
libopencv-dev \
ros-kinetic-vision-opencv \
ros-kinetic-image-transport-plugins \
ros-kinetic-cmake-modules \
python-software-properties \
software-properties-common \
libpoco-dev \
python-matplotlib \
python-scipy \
python-git \
python-pip \
libtbb-dev \
libblas-dev \
liblapack-dev \
python-catkin-tools \
libv4l-dev \
wget \
autoconf automake
RUN python -m pip install --upgrade pip; python -m pip install python-igraph --upgrade
RUN mkdir -p $CATKIN_WORKSPACE/src && \
cd $CATKIN_WORKSPACE && \
catkin init && \
catkin config --extend /opt/ros/kinetic && \
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
WORKDIR /app
COPY . /app
RUN cp -a /app $CATKIN_WORKSPACE/src/kalibr
ENV PATH $PATH:/home/catkin_ws/src/kalibr/aslam_offline_calibration/kalibr/python
RUN ./setup.sh
RUN sed -i '$isource "/home/catkin_ws/devel/setup.bash"' /ros_entrypoint.sh