forked from micmacIGN/micmac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·45 lines (37 loc) · 1.11 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 ubuntu:latest
MAINTAINER Ewelina Rupnik <[email protected]>
ARG DEBIAN_FRONTEND=noninteractive
# Set the working directory
ENV foo /etc/opt/
WORKDIR ${foo}
#IGN server specifique
#RUN export http_proxy="http://proxy.ign.fr:3128"
#RUN export https_proxy="https://proxy.ign.fr:3128"
#MicMac dependencies
RUN apt-get update && apt-get install -y \
build-essential \
make \
cmake \
git \
proj-bin \
exiv2 \
exiftool \
imagemagick \
xorg \
openbox \
qt5-default \
meshlab \
vim
#MicMac clone
#IGN-specific proxy setting
#RUN git config --global http.proxy http://proxy.ign.fr:3128
#RUN git config --global https.proxy https://proxy.ign.fr:3128
RUN git clone https://github.com/micmacIGN/micmac.git
#MicMac build & compile
WORKDIR micmac
RUN mkdir build
WORKDIR build
RUN cmake ../ && make install -j8
#MicMac add environmental variable to executables
ENV PATH=$foo"micmac/bin/:${PATH}"
RUN echo $foo"micmac/bin/:${PATH}"