-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
67 lines (55 loc) · 1.26 KB
/
Dockerfile
File metadata and controls
67 lines (55 loc) · 1.26 KB
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
# Dockerfile for
FROM debian:wheezy
MAINTAINER Alexandre Bonnasseau
RUN apt-get update
RUN apt-get install -y \
locales
RUN dpkg-reconfigure locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
ENV LC_ALL C.UTF-8
RUN apt-get install python-software-properties
RUN add-apt-repository ppa:mapnik/boost
RUN apt-get update
RUN apt-get install \
libboost-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-python-dev \
libboost-regex-dev \
libboost-system-dev \
libboost-thread-dev
RUN apt-get install -y \
git-core \
tar \
unzip \
bzip2 \
build-essential \
autoconf \
libtool \
libxml2-dev \
libgeos-dev \
libpq-dev \
libbz2-dev proj \
munin-node munin \
libprotobuf-c0-dev \
protobuf-c-compiler \
libfreetype6-dev \
libpng12-dev \
libtiff4-dev \
libicu-dev \
libgdal-dev \
libcairo-dev \
libcairomm-1.0-dev \
apache2 \
apache2-dev \
libagg-dev \
liblua5.2-dev \
ttf-unifont
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main"> /etc/apt/sources.list.d/postgis.list
RUN wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
RUN apt-get update
RUN apt-get install -y \
postgresql-9.3-postgis-2.1 \
postgresql-contrib
EXPOSE 5432