-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
60 lines (54 loc) · 1.42 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
49
50
51
52
53
54
55
56
57
58
59
60
FROM debian:stretch
MAINTAINER Yves Schumann <[email protected]>
# Define environment vars
# Set PERL_USE_UNSAFE_INC to make Debian 9 latex2html work
ENV WORK_DIR=/data/work \
SHARED_DIR=/data/shared/fli4l \
DEBIAN_FRONTEND=noninteractive \
PERL_USE_UNSAFE_INC=1 \
LC_ALL=en_US.UTF-8 \
TZ='Europe/Berlin'
# Mount point for development workspace
RUN mkdir -p ${WORK_DIR}
VOLUME ${WORK_DIR}
# Mount point for shared resources like source archives etc
RUN mkdir -p ${SHARED_DIR}
VOLUME ${SHARED_DIR}
RUN apt-get update -y \
&& apt-get upgrade -y
RUN apt-get install -y --no-install-recommends \
dos2unix \
curl \
fig2dev \
git \
locales \
libxml2-utils \
make \
mc \
netpbm \
openssh-client \
ghostscript \
rsync \
subversion \
texlive-font-utils \
texlive-latex-base \
texlive-lang-english \
texlive-lang-french \
texlive-lang-german \
texlive-latex-recommended \
texlive-fonts-recommended \
lmodern \
texlive-latex-extra \
latex2html \
texlive-fonts-extra \
wget
# Set locale to UTF8
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
&& locale-gen en_US.UTF-8 \
&& dpkg-reconfigure locales \
&& /usr/sbin/update-locale LANG=en_US.UTF-8
# Set timezone to Europe/Berlin
RUN echo $TZ > /etc/timezone && \
rm /etc/localtime && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata