Commit Graph

863 Commits

Author SHA1 Message Date
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
yosifkit 66da3846b4
Merge pull request #1258 from infosiftr/install
Use `install` instead of `mkdir && chown && chmod`
2024-07-09 14:09:16 -07:00
Tianon Gravi a09f1c441f Use `install` instead of `mkdir && chown && chmod` 2024-07-08 15:18:09 -07:00
Docker Library Bot 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
Tianon Gravi cefde5ff6f
Merge pull request #1246 from infosiftr/su-noexec
Replace `su-exec` with `gosu`
2024-06-18 14:47:01 -07:00
Tianon Gravi 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
Tianon Gravi 29d4a29d8f
Merge pull request #1244 from LaurentGoderre/v17
Add 17 beta1
2024-06-03 10:44:47 -07:00
Laurent Goderre 3a7be2f321 fixup 2024-05-31 09:43:40 -04:00
Laurent Goderre 41402ac3d1 Add 17 beta1
Fixes #1243
2024-05-29 17:09:26 -04:00
Tianon Gravi 1bdb411893
Merge pull request #1241 from Earlopain/update-actions
Bump `actions/checkout` to v4
2024-05-22 14:10:32 -07:00
Tianon Gravi bdd427011b
Merge pull request #1240 from Earlopain/alpine-3.20
Update to alpine 3.20
2024-05-22 14:06:35 -07:00
Earlopain d2cafdf55d
Bump `actions/checkout` to v4
Prevents a Node.js 16 deprecation warning
2024-05-22 22:45:53 +02:00
Earlopain 930acaf01f
Update to alpine 3.20 2024-05-22 22:39:44 +02:00
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Tianon Gravi 44ef8b226a
Merge pull request #1201 from finnigja/master
update to gosu 1.17
2024-02-21 09:38:22 -08:00
Jamie Finnigan ab6925051c update to gosu 1.17 2024-02-20 16:46:13 -08:00
Docker Library Bot 1424abf76f Update 16 to bookworm 16.2-1.pgdg120+2, bullseye 16.2-1.pgdg110+2 2024-02-12 11:15:38 -08:00
Docker Library Bot 34d4c14c23 Update 15 to bookworm 15.6-1.pgdg120+2, bullseye 15.6-1.pgdg110+2 2024-02-12 11:12:29 -08:00
Docker Library Bot 901df4c333 Update 14 to bookworm 14.11-1.pgdg120+2, bullseye 14.11-1.pgdg110+2 2024-02-12 11:09:00 -08:00
Docker Library Bot a2de6cd9b0 Update 13 to bookworm 13.14-1.pgdg120+2, bullseye 13.14-1.pgdg110+2 2024-02-12 11:05:32 -08:00
Docker Library Bot 6e883d9b1e Update 12 to bookworm 12.18-1.pgdg120+2, bullseye 12.18-1.pgdg110+2 2024-02-12 11:02:23 -08:00
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Docker Library Bot 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
Tianon Gravi aa542a0f79
Merge pull request #1179 from infosiftr/less
Add `less` to Debian variants
2024-01-04 14:16:32 -08:00
Tianon Gravi 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
Tianon Gravi 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
yosifkit 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
Tianon Gravi 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
Tianon Gravi 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
Laurent Goderre 1d4651c6c9 Revert "Added inline SBOM for binaries downloaded outside package manager"
This reverts commit 6f4ae83640.
2023-12-11 14:03:58 -05:00
Tianon Gravi 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
Tianon Gravi 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
Joseph Ferguson 3e5f87d0d0 Remove PostgreSQL 11 since it is end of life
https://www.postgresql.org/support/versioning/
2023-12-11 09:15:45 -08:00
Tianon Gravi ef9747fb7f
Merge pull request #1160 from Earlopain/alpine3.19
Add alpine 3.19
2023-12-08 11:30:15 -08:00
Earlopain 25f6ba56f9
Add alpine 3.19 2023-12-08 12:47:00 +01:00
Tianon Gravi 018d576bc8
Merge pull request #1159 from lfittl/use-locale-gen
Debian images: Use locale-gen instead of localdef
2023-12-07 14:55:03 -08:00
Lukas Fittl a42b684558 Debian packages: Add explicit check for locale-gen creating locales
In case Debian changes the logic of how locale-gen works, this will flag
it early during the build process.
2023-12-07 14:39:53 -08:00
Lukas Fittl 55e45ba6bb Debian images: Use locale-gen instead of localdef
The use of manually calling localdef caused any future update to the
locales package to remove the manually installed locales, since
locale-gen takes precendence. This would usually be encountered when
a downstream Dockerfile added additional packages, and as a side effect
caused an upgrade to the locales package.

Fix by relying on the /etc/locale.gen file, which is the official place
to specify which locales should be installed.

Fixes #1112
2023-12-07 13:17:35 -08:00