Skip to content

Instantly share code, notes, and snippets.

@wolkenarchitekt
Created August 6, 2021 16:07
Show Gist options
  • Save wolkenarchitekt/0c9775c6ecbf2a745aea44be9ab96913 to your computer and use it in GitHub Desktop.
Save wolkenarchitekt/0c9775c6ecbf2a745aea44be9ab96913 to your computer and use it in GitHub Desktop.
PostgreSQL 11 + PostGIS 2.5 running on Raspberry
FROM postgres:11
RUN apt-get update \
&& apt-get install -y --no-install-recommends postgresql-11-postgis-2.5 \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /docker-entrypoint-initdb.d
COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/10_postgis.sh
COPY ./update-postgis.sh /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment