Removed exact version from db Dockerfile, reverted to 9.5

pull/76/head
Piero Toffanin 2016-12-06 10:45:15 -05:00
rodzic 9c443e0546
commit 5d5ce6b548
1 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -1,14 +1,13 @@
FROM postgres:9.6
FROM postgres:9.5
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
ENV POSTGIS_MAJOR 2.3
ENV POSTGIS_VERSION 2.3.1+dfsg-1.pgdg16.04+1
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts=$POSTGIS_VERSION \
postgis=$POSTGIS_VERSION \
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
postgis \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 5432