-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
69 lines (64 loc) · 1.91 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
# HowGood Base Container
# howgood/base
FROM debian:jessie
# Prevent documentation from being installed http://askubuntu.com/a/401144/518
RUN cd /etc/dpkg/dpkg.cfg.d/ \
&& echo 'path-exclude /usr/share/doc/*' >> 01_nodoc \
&& echo 'path-include /usr/share/doc/*/copyright$' >> 01_nodoc \
&& echo 'path-exclude /usr/share/man/*$' >> 01_nodoc \
&& echo 'path-exclude /usr/share/groff/*$' >> 01_nodoc \
&& echo 'path-exclude /usr/share/info/*$' >> 01_nodoc \
&& echo 'path-exclude /usr/share/lintian/*$' >> 01_nodoc \
&& echo 'path-exclude /usr/share/linda/*$' >> 01_nodoc
# Install all of the base dependencies
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yf \
autoconf \
binutils \
build-essential \
ca-certificates \
curl \
gdal-bin \
git \
imagemagick \
libbz2-dev \
libcurl4-openssl-dev \
libevent-dev \
libffi-dev \
libfreetype6-dev \
libgeoip1 \
libgeos-dev \
libglib2.0-dev \
libjpeg-dev \
liblcms2-dev \
liblzma-dev \
libmagickcore-dev \
libmagickwand-dev \
libmemcached-dev \
libncurses-dev \
libpq-dev \
libproj-dev \
libreadline-dev \
libssl-dev \
libsqlite3-dev \
libtiff-dev \
libwebp-dev \
libxml2-dev \
libxslt-dev \
libyaml-dev \
locales \
postgis \
socat \
tcl8.5-dev \
tk8.5-dev \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean -y \
&& apt-get autoremove -y
# Configure the locale
RUN dpkg-reconfigure locales \
&& locale-gen C.UTF-8 \
&& /usr/sbin/update-locale LANG=C.UTF-8 \
&& apt-get clean -y \
&& apt-get autoremove -y
ENV LC_ALL C.UTF-8