-
Notifications
You must be signed in to change notification settings - Fork 9
feat: add PostgreSQL18rc1 test postgis image #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
thomasboussekey
wants to merge
6
commits into
cloudnative-pg:main
from
thomasboussekey:add_pg18_beta
Closed
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
353c5fb
feat: add PostgreSQL18beta3 test postgis image
thomasboussekey b0cd30a
Update PostGIS/18/Dockerfile
thomasboussekey 1e5256b
Merge branch 'main' into add_pg18_beta
thomasboussekey f59361a
Use correct image tag
thomasboussekey 204b1d8
Merge branch 'main' into add_pg18_beta
thomasboussekey edda8f5
validate Pg18 build
thomasboussekey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "BARMAN_VERSION": "3.14.0", | ||
| "IMAGE_RELEASE_VERSION": "192", | ||
| "IMAGE_RELEASE_VERSION": "193", | ||
| "POSTGIS_IMAGE_LAST_UPDATED": "2025-09-01T05:33:05.669258Z", | ||
| "POSTGIS_IMAGE_VERSION": "13-3.5" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "BARMAN_VERSION": "3.14.0", | ||
| "IMAGE_RELEASE_VERSION": "192", | ||
| "IMAGE_RELEASE_VERSION": "193", | ||
| "POSTGIS_IMAGE_LAST_UPDATED": "2025-09-01T05:33:57.559467Z", | ||
| "POSTGIS_IMAGE_VERSION": "14-3.5" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "BARMAN_VERSION": "3.14.0", | ||
| "IMAGE_RELEASE_VERSION": "192", | ||
| "IMAGE_RELEASE_VERSION": "193", | ||
| "POSTGIS_IMAGE_LAST_UPDATED": "2025-09-01T05:33:10.177472Z", | ||
| "POSTGIS_IMAGE_VERSION": "15-3.5" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "BARMAN_VERSION": "3.14.0", | ||
| "IMAGE_RELEASE_VERSION": "192", | ||
| "IMAGE_RELEASE_VERSION": "193", | ||
| "POSTGIS_IMAGE_LAST_UPDATED": "2025-09-01T05:33:25.113119Z", | ||
| "POSTGIS_IMAGE_VERSION": "16-3.5" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "BARMAN_VERSION": "3.14.0", | ||
| "IMAGE_RELEASE_VERSION": "192", | ||
| "IMAGE_RELEASE_VERSION": "193", | ||
| "POSTGIS_IMAGE_LAST_UPDATED": "2025-09-01T05:33:01.715091Z", | ||
| "POSTGIS_IMAGE_VERSION": "17-3.5" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "BARMAN_VERSION": "3.14.0", | ||
| "IMAGE_RELEASE_VERSION": "1", | ||
| "POSTGIS_IMAGE_LAST_UPDATED": "2025-09-03T05:33:01.715091Z", | ||
| "POSTGIS_IMAGE_VERSION": "18beta3-3.6" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # | ||
| # Copyright The CloudNativePG Contributors | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| FROM postgis/postgis:17-3.5 | ||
|
|
||
| # Do not split the description, otherwise we will see a blank space in the labels | ||
| LABEL name="PostgreSQL + PostGIS Container Images" \ | ||
| vendor="The CloudNativePG Contributors" \ | ||
| version="${PG_VERSION}" \ | ||
| release="192" \ | ||
| summary="PostgreSQL + PostGIS Container images." \ | ||
| description="This Docker image contains PostgreSQL, PostGIS and Barman Cloud based on Postgres 17-3.5." | ||
|
|
||
| LABEL org.opencontainers.image.description="This Docker image contains PostgreSQL, PostGIS and Barman Cloud based on Postgres 17-3.5." | ||
|
|
||
| COPY requirements.txt / | ||
|
|
||
| # Install additional extensions | ||
| RUN set -xe; \ | ||
| apt-get update; \ | ||
| if apt-get -s upgrade | grep "^Inst postgres"; then \ | ||
| echo "ERROR: Upgradable postgres packages found!"; \ | ||
| apt-get -s upgrade | grep "^Inst postgres"; \ | ||
| exit 1; \ | ||
| fi; \ | ||
| apt-get install -y --no-install-recommends \ | ||
| "postgresql-${PG_MAJOR}-pgaudit" \ | ||
| "postgresql-${PG_MAJOR}-pg-failover-slots" \ | ||
| "postgresql-${PG_MAJOR}-pgrouting" \ | ||
| ; \ | ||
| rm -fr /tmp/* ; \ | ||
| rm -rf /var/lib/apt/lists/*; | ||
|
|
||
| # Install barman-cloud | ||
| RUN set -xe; \ | ||
| apt-get update; \ | ||
| apt-get install -y --no-install-recommends \ | ||
| python3-pip \ | ||
| python3-psycopg2 \ | ||
| python3-setuptools \ | ||
| ; \ | ||
| pip3 install --upgrade pip; \ | ||
| # TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved | ||
| pip3 install --no-deps -r requirements.txt; \ | ||
| rm -rf /var/lib/apt/lists/*; | ||
|
|
||
| # Change the uid of postgres to 26 | ||
| RUN usermod -u 26 postgres | ||
| USER 26 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.