-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
41 lines (32 loc) · 837 Bytes
/
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
FROM ubuntu:focal
RUN apt-get update
# disable interactive install
ENV DEBIAN_FRONTEND noninteractive
# install developement tools
RUN apt-get -y install cmake
RUN apt-get -y install g++
RUN apt-get -y install git
# install developement debugging tools
RUN apt-get -y install valgrind
# install CTL dependencies
#RUN apt-get -y install libilmbase-dev
#RUN apt-get -y install libopenexr-dev
RUN apt-get -y install zlib1g-dev
WORKDIR /usr/src/
RUN git clone https://github.com/AcademySoftwareFoundation/openexr.git
WORKDIR /usr/src/openexr
RUN git checkout RB-2.5
WORKDIR /usr/src/openexr/build
RUN cmake ..
RUN make
RUN make install
RUN apt-get -y install libtiff-dev
# build CTL
WORKDIR /usr/src/CTL
COPY . .
WORKDIR /usr/src/CTL/build
RUN cmake ..
RUN make
RUN make install
# finalize docker environment
WORKDIR /usr/src/CTL