-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
49 lines (39 loc) · 1.12 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
46
47
48
FROM python:3.6-slim
RUN apt-get update && \
apt-get install -y \
automake \
bison \
build-essential \
cmake \
libboost-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
libharfbuzz-dev \
libpcre3-dev \
wget
WORKDIR /tmp/build
ARG SWIG_VERSION=3.0.9
COPY build_swig.sh /tmp
RUN ../build_swig.sh $SWIG_VERSION
ARG FREETYPE_VERSION=2.6.3
COPY build_freetype.sh /tmp
RUN ../build_freetype.sh $FREETYPE_VERSION
ARG OCE_VERSION=0.18.3
COPY build_oce.sh /tmp
RUN ../build_oce.sh $OCE_VERSION
ARG SMESH_VERSION=6.7.6
COPY build_smesh.sh /tmp
RUN ../build_smesh.sh $SMESH_VERSION
ARG PYTHONOCC_CORE_VERSION=0.18.1
COPY build_pythonocc_core.sh /tmp
RUN ../build_pythonocc_core.sh $PYTHONOCC_CORE_VERSION
WORKDIR /
RUN apt-get remove --auto-remove -y \
automake \
bison \
build-essential \
cmake \
libboost-dev \
libpcre3-dev \
wget && \
rm -rf /var/lib/apt/lists/*