forked from JakobEngel/dso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
42 lines (38 loc) · 1.61 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
FROM ubuntu:18.04
MAINTAINER Ahmed Abdel Aal <[email protected]>
ENV TERM=xterm \
TZ=Europe/Berlin \
DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y
RUN apt-get install -y --no-install-recommends \
build-essential \
git \
cmake \
libsuitesparse-dev \
libeigen3-dev \
libboost-all-dev \
libgtest-dev \
libbenchmark-dev \
libopencv-dev \
libgl1-mesa-dev \
libglew-dev
RUN cd /usr/src/googletest && cmake -DBUILD_GTEST=ON -DBUILD_GMOCK=ON . \
&& make -j && make install
RUN mkdir code
WORKDIR code
RUN git config --global http.sslVerify false
RUN git clone https://github.com/stevenlovegrove/Pangolin.git
RUN cd Pangolin && mkdir build && cd build && cmake .. -DBUILD_TESTS=OFF -DBUILD_TOOLS=OFF -DBUILD_EXAMPLES=OFF && make && make install
RUN rm -rf Pangolin
RUN git clone https://github.com/yse/easy_profiler.git
RUN cd easy_profiler && mkdir build && cd build && cmake -DEASY_PROFILER_NO_GUI=ON .. && make && make install
RUN rm -rf easy_profiler
RUN git clone https://github.com/fmtlib/fmt.git
RUN cd fmt && mkdir build && cd build && cmake .. && make && make install
RUN rm -rf fmt
RUN git clone https://github.com/wow2006/dso.git dso
RUN cd dso
RUN mkdir build
WORKDIR build
RUN cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON ../dso
CMD make