-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
71 lines (61 loc) · 1.44 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
61
62
63
64
65
66
67
68
69
70
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 \
&& apt autoclean
RUN apt-get install -y --no-install-recommends \
bc \
binutils \
bison \
bsdmainutils \
build-essential \
ca-certificates \
cpio \
elfutils \
file \
flex \
gcc-multilib \
g++-multilib \
git \
kmod \
libncurses5-dev \
libc6-dev-i386 \
libelf-dev \
libssl-dev \
locales \
make \
man-db \
mc \
openssh-client \
procps \
python \
rsync \
subversion \
unzip \
uuid-dev \
wget \
&& apt autoclean
# 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