arm64 support for postgis
This commit is contained in:
parent
933fb04cf4
commit
075f4e2db4
2 changed files with 10 additions and 1 deletions
|
|
@ -24,7 +24,9 @@ services:
|
||||||
- osrm-cycling
|
- osrm-cycling
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: docker.io/postgis/postgis:16-3.4
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: postgis.Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
7
backend/postgis.Dockerfile
Normal file
7
backend/postgis.Dockerfile
Normal 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/*
|
||||||
Loading…
Add table
Reference in a new issue