Commit Graph

85 Commits

Author SHA1 Message Date
Tianon Gravi 36abfddd6f Remove 9.6 (EOL)
See https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/

> Additionally, this is the final release of PostgreSQL 9.6. If you are running PostgreSQL 9.6 in a production environment, we suggest that you make plans to upgrade.
2022-02-11 17:52:48 -08:00
Docker Library Bot dac00caeed Update 10 to 10.20, bullseye 10.20-1.pgdg110+1, stretch 10.20-1.pgdg90+1 2022-02-10 12:08:41 -08:00
tobwen a83005b407
Fix unset/cleanup "nss_wrapper" bits (#919)
original code didn't respect libnss-wrapper at other locations
2022-01-03 14:49:25 -08:00
J0WI 9eaaa05682 Alpine 3.15 2021-11-29 23:27:29 +01:00
Wolfgang Walther e331a5bb8d Build alpine images --with-krb5, --with-gssapi and --with-ldap 2021-11-12 18:12:00 +01:00
Wolfgang Walther 5d9e5a4638 Build plperl, plpython and pltcl in alpine images 2021-11-12 18:09:21 +01:00
Docker Library Bot a11e908fb5 Update 10 to 10.19, bullseye 10.19-1.pgdg110+1, stretch 10.19-1.pgdg90+1 2021-11-11 12:08:49 -08:00
Bartlomiej Szostek edce986784
fix: Add --no-psqlrc to psql script invocations
This flag prevents custom .psqlrc files from interfering with the db init process
2021-10-23 21:54:12 +01:00
Joe Ferguson c6329e3bf2 Adjust POSTGRES_HOST_AUTH_METHOD to automatically match configured password_encryption 2021-10-15 14:52:26 -07:00
Tianon Gravi ab940cbb92 Fix "libnss-wrapper" usage on bullseye
See b9925a653a for the breaking change which necessitates this.
2021-09-28 10:57:41 -07:00
Docker Library Bot a7a749d0ce Update 10 to 10.18, buster 10.18-1.pgdg100+1, stretch 10.18-1.pgdg90+1 2021-08-12 11:53:12 -07:00
Tianon Gravi 517c64f87e Add initial jq-based templating engine 2021-06-16 10:36:52 -07:00
J0WI 718c12a2ad Alpine 3.14 2021-06-16 15:58:27 +02:00
Docker Library Bot ea6eb8151f Update to 10.17 2021-05-14 06:02:21 +00:00
Docker Library Bot 1267a1f1bb Update to 10.16 2021-02-12 07:02:19 +00:00
Tianon Gravi e8cb2acbb3
Merge pull request #808 from infosiftr/PGHOST
Explicitly unset PGHOST for temporary server communications
2021-01-21 08:49:48 -08:00
Tianon Gravi 188bf13e57 Update to Alpine 3.13 2021-01-20 16:11:28 -08:00
Tianon Gravi ba302205a1 Explicitly unset PGHOST for temporary server communications 2021-01-18 15:56:04 -08:00
yosifkit 03e769531f
Merge pull request #801 from infosiftr/db-exists
Do not try to create databases that already exist
2020-12-28 14:39:40 -08:00
Tianon Gravi 36ffea2cb2 Adjust "chmod" to not fail (since PostgreSQL validates this itself later) 2020-12-28 09:51:28 -08:00
Tianon Gravi 11e397d86c Do not try to create databases that already exist
We were already checking for whether `POSTGRES_DB` was set to `postgres`, but this was the underlying motivation for that check (and it turns out that this applies for values of at least `template0` and `template1` as well).
2020-12-22 14:00:05 -08:00
Docker Library Bot 92d7a789c6 Update to 10.15 2020-11-13 01:02:16 +00:00
Bohdan Kmit 04bf35f0c4 Keep postgres static libraries in Alpine images
Do not remove static postgres libraries from Alpine based images.
This add near 1.4MB to image size, but allow to complie some extentions
like repmgr without errors
2020-09-25 21:58:45 +03:00
Daniel Huhn bfc5d81c8f Change default STOPSIGNAL from SIGTERM to SIGINT 2020-09-18 12:03:49 -07:00
xpetit fdf884a12f
Fix typo 2020-09-06 18:17:09 +02:00
Docker Library Bot 1657faac6b Update to 10.14 2020-08-14 12:02:12 +00:00
Tianon Gravi 1bddd08358 Replace "&&" chains with ";" in Alpine variants 2020-06-25 14:10:42 -07:00
Tianon Gravi 1d140375b6 Remove (no longer necessary) Alpine fetch-deps 2020-06-25 08:27:27 -07:00
J0WI b1f60bd4f8 Upgrade Alpine to 3.12 2020-06-11 00:19:04 +02:00
Docker Library Bot 245058ccb6 Update to 10.13 2020-05-14 20:11:25 +00:00
Tianon Gravi 33bccfcadd Fix silently skipped init scripts 2020-02-28 16:01:52 -08:00
Joe Ferguson 4f70bf2b81 Add .sql.xz support to docker-entrypoint-initdb.d
xzcat is provided by busybox in alpine
2020-02-17 15:38:43 -08:00
Tianon Gravi f1bc8782e7 Clarify that "POSTGRES_PASSWORD" should be non-empty
(Assuming "POSTGRES_HOST_AUTH_METHOD" is not set to the "trust" value which does not require passwords.)
2020-02-17 12:56:07 -08:00
yosifkit 6d1f671dcd
Merge pull request #669 from yaroze/master
Change default shell for user postgres to sh
2020-02-14 13:47:34 -08:00
Docker Library Bot 8bebabd5bc Update to 10.12 2020-02-14 07:02:14 +00:00
Joe Ferguson f0edc5c30e Run update.sh to apply shell to all alpine versions 2020-02-13 17:26:53 -08:00
yosifkit 16dd8dbf87
Merge pull request #658 from infosiftr/more-mysql
Error when `POSTGRES_PASSWORD` is unset like mysql
2020-02-12 15:47:15 -08:00
Joe Ferguson 46161d6ab3 Add missing -n's to bash test 2020-01-09 16:19:13 -08:00
Joe Ferguson 42ce7437ee Error when POSTGRES_PASSWORD is unset like mysql
Add POSTGRES_HOST_AUTH_METHOD to bring back old behavior and be similar to MYSQL_ALLOW_EMPTY_PASSWORD, but add warning when "trust" is used since it disables all passwords
2020-01-09 16:19:02 -08:00
J0WI c4b019526a Add home dir 2020-01-01 01:31:50 +01:00
J0WI ada31ea8dc Add postgres directory and user 2019-12-23 02:21:09 +01:00
J0WI 1cbd3a1666 Upgrade to Alpine 3.11 2019-12-20 04:05:38 +01:00
Tianon Gravi 0d0485cb02
Merge pull request #647 from infosiftr/help
Check for "help" to short circuit server starting (since they break when passed to pg_ctl)
2019-12-03 09:43:18 -08:00
Joe Ferguson de2aa0bf56 Check for "help" to short circuit server starting (since they break when passed to pg_ctl) 2019-12-02 19:05:53 -08:00
Tianon Gravi 89a2fb84e6 Update temporary server to prefer PGPORT if set (since the client and server both normally respect that variable) 2019-12-02 18:07:23 -08:00
Tianon Gravi 34df4665bf Apply update.sh 2019-11-26 15:54:46 -08:00
Tianon Gravi 820323fa89 Adjust "docker_temp_server_start" to override port for consistent unix socket path 2019-11-25 17:15:02 -08:00
Docker Library Bot c1e547b318 Update to 10.11 2019-11-15 13:02:11 +00:00
Joe Ferguson 8fada98158 Fixes from tianon's review 2019-11-12 16:00:40 -08:00
Joe Ferguson 7c84645f2d Apply update.sh for new entrypoint 2019-10-11 13:18:19 -07:00