1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-29 21:41:20 +03:00

919 Commits

Author SHA1 Message Date
5db7a178fd Use jq's IN() instead of index()
The end result is the same, but the construction is more ergonomic.
2024-10-16 14:37:29 -07:00
a37e929682 Update generate-stackbrew-library.sh to support BASHBREW_LIBRARY for easier cascading updates
See https://github.com/docker-library/official-images/pull/17640#issuecomment-2380308790
2024-09-30 11:28:39 -07:00
b406380598 Update "latest" to 17 (now GA) 2024-09-26 15:59:36 -07:00
172544062d Update 17 to 17.0, bookworm 17.0-1.pgdg120+1, bullseye 17.0-1.pgdg110+1 2024-09-26 11:19:57 -07:00
c9906f922d Update 16 to bookworm 16.4-1.pgdg120+2, bullseye 16.4-1.pgdg110+2 2024-09-26 11:03:00 -07:00
eaa1c35769 Update 17 to 17rc1, bookworm 17~rc1-1.pgdg120+1, bullseye 17~rc1-1.pgdg110+1 2024-09-05 06:44:37 -07:00
805329e7a6 Update 17 to 17beta3, bookworm 17~beta3-1.pgdg120+1, bullseye 17~beta3-1.pgdg110+1 2024-08-08 10:34:59 -07:00
3a94d965ec Update 16 to 16.4, bookworm 16.4-1.pgdg120+1, bullseye 16.4-1.pgdg110+1 2024-08-08 10:20:28 -07:00
8cce578a43 Update 15 to 15.8, bookworm 15.8-1.pgdg120+1, bullseye 15.8-1.pgdg110+1 2024-08-08 10:06:32 -07:00
e324d93eba Update 14 to 14.13, bookworm 14.13-1.pgdg120+1, bullseye 14.13-1.pgdg110+1 2024-08-08 09:52:20 -07:00
ce54cce510 Update 13 to 13.16, bookworm 13.16-1.pgdg120+1, bullseye 13.16-1.pgdg110+1 2024-08-08 09:37:43 -07:00
62f99df900 Update 12 to 12.20, bookworm 12.20-1.pgdg120+1, bullseye 12.20-1.pgdg110+1 2024-08-08 09:22:52 -07:00
66da3846b4 Merge pull request #1258 from infosiftr/install
Use `install` instead of `mkdir && chown && chmod`
2024-07-09 14:09:16 -07:00
a09f1c441f Use install instead of mkdir && chown && chmod 2024-07-08 15:18:09 -07:00
9bf5a6d620 Update 17 to 17beta2, bookworm 17~beta2-1.pgdg120+1, bullseye 17~beta2-1.pgdg110+1 2024-07-01 17:03:06 -07:00
cefde5ff6f Merge pull request #1246 from infosiftr/su-noexec
Replace `su-exec` with `gosu`
2024-06-18 14:47:01 -07:00
3e9b4eaaeb Replace su-exec with gosu
There's a major issue with `su-exec` whose fix has gone unreleased for 5 years (typos leading to running code as root, the opposite of the purpose of the program).

This also decreases our Debian vs Alpine variance.

Due to user scripts/downstream code potentially using `su-exec`, I have included a compatibility symlink to `su-exec` for all versions less than the 17 pre-release.
2024-06-03 13:57:56 -07:00
29d4a29d8f Merge pull request #1244 from LaurentGoderre/v17
Add 17 beta1
2024-06-03 10:44:47 -07:00
3a7be2f321 fixup 2024-05-31 09:43:40 -04:00
41402ac3d1 Add 17 beta1
Fixes #1243
2024-05-29 17:09:26 -04:00
1bdb411893 Merge pull request #1241 from Earlopain/update-actions
Bump `actions/checkout` to v4
2024-05-22 14:10:32 -07:00
bdd427011b Merge pull request #1240 from Earlopain/alpine-3.20
Update to alpine 3.20
2024-05-22 14:06:35 -07:00
d2cafdf55d Bump actions/checkout to v4
Prevents a Node.js 16 deprecation warning
2024-05-22 22:45:53 +02:00
930acaf01f Update to alpine 3.20 2024-05-22 22:39:44 +02:00
d08757ccb5 Update 16 to 16.3, bookworm 16.3-1.pgdg120+1, bullseye 16.3-1.pgdg110+1 2024-05-09 11:58:11 -07:00
8a0b96710d Update 15 to 15.7, bookworm 15.7-1.pgdg120+1, bullseye 15.7-1.pgdg110+1 2024-05-09 11:44:17 -07:00
662dbe5225 Update 14 to 14.12, bookworm 14.12-1.pgdg120+1, bullseye 14.12-1.pgdg110+1 2024-05-09 11:31:12 -07:00
f3ab8c6db6 Update 13 to 13.15, bookworm 13.15-1.pgdg120+1, bullseye 13.15-1.pgdg110+1 2024-05-09 11:16:46 -07:00
ccf4f2289a Update 12 to 12.19, bookworm 12.19-1.pgdg120+1, bullseye 12.19-1.pgdg110+1 2024-05-09 11:02:23 -07:00
44ef8b226a Merge pull request #1201 from finnigja/master
update to gosu 1.17
2024-02-21 09:38:22 -08:00
ab6925051c update to gosu 1.17 2024-02-20 16:46:13 -08:00
1424abf76f Update 16 to bookworm 16.2-1.pgdg120+2, bullseye 16.2-1.pgdg110+2 2024-02-12 11:15:38 -08:00
34d4c14c23 Update 15 to bookworm 15.6-1.pgdg120+2, bullseye 15.6-1.pgdg110+2 2024-02-12 11:12:29 -08:00
901df4c333 Update 14 to bookworm 14.11-1.pgdg120+2, bullseye 14.11-1.pgdg110+2 2024-02-12 11:09:00 -08:00
a2de6cd9b0 Update 13 to bookworm 13.14-1.pgdg120+2, bullseye 13.14-1.pgdg110+2 2024-02-12 11:05:32 -08:00
6e883d9b1e Update 12 to bookworm 12.18-1.pgdg120+2, bullseye 12.18-1.pgdg110+2 2024-02-12 11:02:23 -08:00
5403edd423 Update 16 to 16.2, bookworm 16.2-1.pgdg120+1, bullseye 16.2-1.pgdg110+1 2024-02-08 11:52:58 -08:00
539bdac35d Update 15 to 15.6, bookworm 15.6-1.pgdg120+1, bullseye 15.6-1.pgdg110+1 2024-02-08 11:40:08 -08:00
3b6cb599da Update 14 to 14.11, bookworm 14.11-1.pgdg120+1, bullseye 14.11-1.pgdg110+1 2024-02-08 11:28:15 -08:00
c3c66a1929 Update 13 to 13.14, bookworm 13.14-1.pgdg120+1, bullseye 13.14-1.pgdg110+1 2024-02-08 11:16:28 -08:00
7646329131 Update 12 to 12.18, bookworm 12.18-1.pgdg120+1, bullseye 12.18-1.pgdg110+1 2024-02-08 11:02:23 -08:00
aa542a0f79 Merge pull request #1179 from infosiftr/less
Add `less` to Debian variants
2024-01-04 14:16:32 -08:00
d416768b1a Add less to Debian variants
https://www.postgresql.org/docs/16/app-psql.html#APP-PSQL-META-COMMAND-PSET-PAGER
https://github.com/postgres/postgres/blob/REL_16_1/src/include/fe_utils/print.h#L25
(if "less" is available, it gets used as the default pager for psql, and it only adds ~1.5MiB to our image size)
2024-01-04 13:52:40 -08:00
ce5bf6e7eb Merge pull request #1166 from infosiftr/unlimited-passwords
Only print password length warning for 12 and 13
2023-12-21 16:27:15 -08:00
31aed10dbe Merge pull request #1150 from infosiftr/docker-ensure-initdb
Add new "docker-ensure-initdb.sh" script
2023-12-13 14:17:08 -08:00
7dece99f91 Only print password length warning for 12 and 13
In 14+, the arbitrary length limitations have been removed from the PostgreSQL server (67a472d71c).
2023-12-11 11:39:54 -08:00
def08559e5 Merge pull request #1164 from LaurentGoderre/remove-inline-sbom
Revert "Added inline SBOM for binaries downloaded outside package manager
2023-12-11 11:18:42 -08:00
1d4651c6c9 Revert "Added inline SBOM for binaries downloaded outside package manager"
This reverts commit 6f4ae83640.
2023-12-11 14:03:58 -05:00
c86568af4a Add new "docker-ensure-initdb.sh" script
This mimics the behavior of `docker-entrypoint.sh` before it starts the PostgreSQL server.

It has three main goals/uses:

  1. (most importantly) as an example of how to use "docker-entrypoint.sh" to extend/reuse the initialization behavior

  2. ("docker-ensure-initdb.sh") as a Kubernetes "init container" to ensure the provided database directory is initialized; see also "startup probes" for an alternative solution
       (no-op if database is already initialized)

  3. ("docker-enforce-initdb.sh") as part of CI to ensure the database is fully initialized before use
       (error if database is already initialized)
2023-12-11 10:58:54 -08:00
d8c33605bb Merge pull request #1162 from infosiftr/eol-11
Remove PostgreSQL 11 since it is end of life
2023-12-11 09:32:24 -08:00