]> git.openstreetmap.org Git - rails.git/blob - docker/postgres/Dockerfile
Merge remote-tracking branch 'upstream/pull/7060'
[rails.git] / docker / postgres / Dockerfile
1 # Would use postgis:14-3.5, but it doesn't work with Apple Silicon
2 # (https://github.com/postgis/docker-postgis/issues/216).
3 # Therefore we use postgres:14 and apt-install Postgis ourselves.
4 FROM postgres:14
5
6 RUN apt-get update \
7   && apt-get install --no-install-recommends -y \
8     postgresql-14-postgis-3
9
10 # Add db init script to install OSM-specific Postgres user.
11 ADD docker/postgres/openstreetmap-postgres-init.sh /docker-entrypoint-initdb.d/