Commit Graph

10 Commits

Author SHA1 Message Date
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
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 2468c9d91a Update permissions from 777 to 1777 (redux)
I somehow missed Debian in 25b3034e9b (only updated Alpine), so this updates Debian in the same way.

> This still supports the "arbitrary user" use case but with slightly tighter permissions on the end result.
>
> This one is a little bit more "special" other images (due to the existing runtime/entrypoint modification of the directory modes) so I've tried to pick reasonable values for both halves.
2023-11-29 16:11:07 -08:00
Docker Library Bot da624f9e2e Update 15 to 15.5, bookworm 15.5-1.pgdg120+1, bullseye 15.5-1.pgdg110+1 2023-11-09 11:51:15 -08:00
Laurent Goderre 6f4ae83640 Added inline SBOM for binaries downloaded outside package manager 2023-10-04 10:54:45 -04:00
Docker Library Bot 1a73ab671b Update 15 to 15.4, bookworm 15.4-1.pgdg120+1, bullseye 15.4-1.pgdg110+1 2023-08-10 11:46:34 -07:00
Tianon Gravi 5ea98fe00b Add support for multiple (up to two) concurrent Alpine versions 2023-05-17 15:58:36 -07:00