martin/demo/db/Dockerfile
2023-05-29 20:36:24 -04:00

17 lines
342 B
Docker

FROM postgres:12
ENV PG_MAJOR=12
ENV POSTGIS_MAJOR=3
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
wget \
ca-certificates \
unzip \
dos2unix \
gdal-bin \
&& rm -rf /var/lib/apt/lists/*