1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-12-06 22:40:56 +03:00
Commit Graph

4 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
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
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
5ea98fe00b Add support for multiple (up to two) concurrent Alpine versions 2023-05-17 15:58:36 -07:00