arm64 support for postgis

This commit is contained in:
Shautvast 2026-03-30 10:07:38 +02:00
parent 933fb04cf4
commit 075f4e2db4
2 changed files with 10 additions and 1 deletions

View file

@ -24,7 +24,9 @@ services:
- osrm-cycling
postgres:
image: docker.io/postgis/postgis:16-3.4
build:
context: .
dockerfile: postgis.Dockerfile
ports:
- "5432:5432"
environment:

View file

@ -0,0 +1,7 @@
FROM arm64v8/postgres:16-bookworm
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
postgresql-16-postgis-3 \
postgresql-16-postgis-3-scripts \
&& rm -rf /var/lib/apt/lists/*