-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.Dockerfile
79 lines (71 loc) · 1.58 KB
/
sample.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
ARG IMAGE
FROM ${IMAGE}
ARG DEBIAN_FRONTEND=noninteractive
ARG BLAS
ARG COMPILER
ARG COMPILER_VERSION
ARG CXX_STDLIB
ENV COMPILER=${COMPILER} \
COMPILER_VERSION=${COMPILER_VERSION} \
CXX_STDLIB=${CXX_STDLIB}
RUN CXX_STDLIB_VERSION=${CXX_STDLIB:+$COMPILER_VERSION} \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
dpkg-dev \
"${CXX_STDLIB:-g++}${CXX_STDLIB_VERSION:+-}${CXX_STDLIB_VERSION}${CXX_STDLIB:+-dev}" \
libc6-dev \
make \
ca-certificates \
"${COMPILER:-gcc}${COMPILER_VERSION:+-}${COMPILER_VERSION}" \
gfortran \
libbz2-* \
'^libcurl[3|4]$' \
libicu* \
'^libjpeg.*-turbo.*' \
liblzma* \
"${BLAS:-liblapack-dev}" \
libpangocairo-* \
libpaper-utils \
'^libpcre[2|3]*' \
libpng-dev \
libreadline-dev \
'^libtiff[5|6]$' \
unzip \
zip \
zlib1g \
&& BUILDDEPS="curl \
default-jdk \
#libbz2-dev \
libcairo2-dev \
libcurl4-openssl-dev \
libpango1.0-dev \
libjpeg-dev \
libicu-dev \
#libpcre2-dev \
#libpng-dev \
#libreadline-dev \
libtiff-dev \
#liblzma-dev \
libx11-dev \
libxt-dev \
perl \
rsync \
subversion \
tcl-dev \
tk-dev \
texinfo \
texlive-extra-utils \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-latex-recommended \
texlive-latex-extra \
x11proto-core-dev \
xauth \
xfonts-base \
xvfb \
wget \
zlib1g-dev" \
&& apt-get install -y --no-install-recommends ${BUILDDEPS}
COPY patches/* /tmp/
COPY scripts/*.sh /usr/bin/
CMD ["start.sh"]