Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3261680

Browse filesBrowse files
committed
Merge branch 'postgres-17' into 'master'
Add PostgreSQL 17 (release) See merge request postgres-ai/custom-images!67
2 parents 7c1d45f + 5d2c6f5 commit 3261680
Copy full SHA for 3261680

File tree

Expand file treeCollapse file tree

3 files changed

+5
-12
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-12
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ Available PostgreSQL versions: 9.6 (EOL), 10 (EOL), 11 (EOL), 12, 13, 14, 15, 16
3737

3838
#### Not included in the PostgreSQL 17 image (yet)
3939
The PostgreSQL 17 image is now missing the following extensions (they will be added in the future):
40-
- pg_repack
4140
- powa
42-
- timescaledb
4341
- citus
4442
- topn
45-
- pg_qualstats
4643

4744
### How to extend
4845
- You can fork this repository and extend `Dockerfile`, then build your own images

‎extended-postgres/Dockerfile

Copy file name to clipboardExpand all lines: extended-postgres/Dockerfile
+3-7Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/partial \
4949
apt-get install --no-install-recommends -y postgresql-9.6-amcheck; \
5050
fi \
5151
# pg_repack extension
52-
&& if [ $(echo "$PG_SERVER_VERSION < 17" | /usr/bin/bc) = "1" ]; then \
53-
apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-repack; \
54-
fi \
52+
&& apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-repack \
5553
# hypopg extension
5654
&& apt-get install --no-install-recommends -y \
5755
postgresql-${PG_SERVER_VERSION}-hypopg \
@@ -81,7 +79,7 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/partial \
8179
&& cd pg_auth_mon && USE_PGXS=1 make && USE_PGXS=1 make install; \
8280
fi \
8381
# timescaledb extension
84-
&& if [ $(echo "$PG_SERVER_VERSION > 11" | /usr/bin/bc) = "1" ] && [ $(echo "$PG_SERVER_VERSION < 17" | /usr/bin/bc) = "1" ]; then \
82+
&& if [ $(echo "$PG_SERVER_VERSION > 11" | /usr/bin/bc) = "1" ]; then \
8583
echo "deb https://packagecloud.io/timescale/timescaledb/debian/ $(lsb_release -c -s) main" > /etc/apt/sources.list.d/timescaledb.list \
8684
&& wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | sudo apt-key add - \
8785
&& apt-get update \
@@ -137,9 +135,7 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/partial \
137135
# pg_wait_sampling extension
138136
&& apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-pg-wait-sampling \
139137
# pg_qualstats extension
140-
&& if [ $(echo "$PG_SERVER_VERSION < 17" | /usr/bin/bc) = "1" ]; then \
141-
apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-pg-qualstats; \
142-
fi \
138+
&& apt-get install --no-install-recommends -y postgresql-${PG_SERVER_VERSION}-pg-qualstats \
143139
# bg_mon extension
144140
&& apt-get install -y libevent-dev libbrotli-dev \
145141
&& cd /tmp && git clone https://github.com/CyberDem0n/bg_mon.git && cd bg_mon \

‎extended-postgres/build-images-ci.yml

Copy file name to clipboardExpand all lines: extended-postgres/build-images-ci.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ build-extended-postgres-17-image-latest:
115115
<<: *only_tag_release
116116
variables:
117117
<<: *extended_image_vars_dh
118-
PG_SERVER_VERSION: "17rc1"
118+
PG_SERVER_VERSION: "17"
119119
TAGS: "${DOCKER_NAME}:${PG_SERVER_VERSION},${DOCKER_NAME}:${PG_SERVER_VERSION}-${CI_COMMIT_TAG}"
120120

121121
build-extended-postgres-9-6-image-feature:
@@ -187,5 +187,5 @@ build-extended-postgres-17-image-feature:
187187
<<: *only_feature
188188
variables:
189189
<<: *extended_image_vars_gl
190-
PG_SERVER_VERSION: "17rc1"
190+
PG_SERVER_VERSION: "17"
191191
TAGS: "${DOCKER_NAME}:${PG_SERVER_VERSION},${DOCKER_NAME}:${PG_SERVER_VERSION}-${CI_COMMIT_REF_SLUG}"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.