Skip to content

Commit

Permalink
feat: add PostgreSQL 15
Browse files Browse the repository at this point in the history
  • Loading branch information
mborne committed Jun 24, 2023
1 parent 10da66d commit f2922c8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

strategy:
matrix:
version: ["13-3","14-3"]
version: ["13-3","14-3","15-3"]

steps:
- name: Checkout repository
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ services:

postgis:
container_name: postgis
image: ghcr.io/mborne/postgis:14-3
build: img/14-3
image: ghcr.io/mborne/postgis:15-3
build: img/15-3
ports:
- "5432:5432"
environment:
Expand All @@ -17,9 +17,10 @@ services:

volumes:
postgis-data:
name: postgis-data-14
name: postgis-data-15

networks:
default:
name: devbox
external: true

6 changes: 6 additions & 0 deletions img/15-3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM postgres:15

RUN apt-get update \
&& apt-get install -y postgresql-15-postgis-3 \
&& apt-get install -y postgresql-15-pgrouting \
&& rm -rf /var/lib/apt/lists/*

0 comments on commit f2922c8

Please sign in to comment.