kopia lustrzana https://github.com/OpenDroneMap/WebODM
16 wiersze
506 B
Docker
16 wiersze
506 B
Docker
FROM postgres:9.5
|
|
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
|
|
|
|
ENV POSTGIS_MAJOR 2.3
|
|
ENV POSTGIS_VERSION 2.3.0+dfsg-2.pgdg80+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 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
EXPOSE 5432
|
|
COPY init.sql /docker-entrypoint-initdb.d/init-db.sql
|