-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
18 lines (14 loc) · 812 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -qq update && apt -y -qq install git curl wget cmake build-essential lsb-core unzip && apt clean
WORKDIR /
RUN wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.gz && \
tar -xzvf boost_1_62_0.tar.gz && cd boost_1_62_0 && mkdir build && \
./bootstrap.sh --with-libraries=filesystem --with-libraries=program_options && \
./b2 install -j$(nproc) && cd ../ && \rm -rf boost_1_62_0 && rm -rf boost_1_62_0.tar.gz
WORKDIR /
RUN wget https://github.com/opencv/opencv/archive/3.4.8.zip && unzip 3.4.8.zip && \
cd opencv-3.4.8 && mkdir build && cd build && cmake .. && make -j2 && make install && \
cd ../../ && rm -rf opencv-3.4.8 && rm -rf 3.4.8.zip
WORKDIR /lidar-to-depth-image-converter
COPY . .