1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-17 13:02:40 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
Joseph Ferguson
a3b0bb68fa Downgrade llvm to 15 to fix jit support 2023-05-12 15:21:44 -07:00
Docker Library Bot
ee629b1e31 Update 11 to 11.20, bullseye 11.20-1.pgdg110+1 2023-05-11 11:02:16 -07:00
J0WI
6efe206eaa Alpine 3.18 2023-05-10 19:56:30 +02:00
Tianon Gravi
25b3034e9b Update permissions from 777 to 1777
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-03-10 16:05:33 -08:00
Docker Library Bot
156d0659d0 Update 11 to 11.19, bullseye 11.19-1.pgdg110+1 2023-02-09 11:50:24 -08:00
Joe Ferguson
6ee0f2865b Skip unavailable nss_wrapper on ppc64le 2022-12-22 14:28:39 -08:00
Stan Hu
41bd7bf3f4 Add newline to POSTGRES_PASSWORD file for initdb
https://github.com/docker-library/postgres/issues/1024 converted all
`echo` calls to `printf`, but this change causes the password file
used by `initdb` to be blank rather than contain a single newline.
As a result, `initdb` will fail to start with an empty value with
the error:

```
initdb: error: password file "/dev/fd/63" is empty
```

`POSTGRES_PASSWORD` can be blank if `POSTGRES_HOST_AUTH_METHOD=trust`
is used. This change adds a newline to restore the original behavior.

Closes #1025
2022-12-22 13:40:11 -08:00
Tianon Gravi
7e5e7ece73 Convert all entrypoint "echo"s to "printf"
The use of the `echo` shell built-in has been actively discouraged for a long time, but it's really convenient so we keep doing it.  This converts them all to use `printf` appropriately such that we avoid issues like `echo "$someVar"` from doing the wrong thing if `$someVar` is `-n` or similar.
2022-12-21 10:42:36 -08:00
Wolfgang Walther
a2d5beb991 Add nss_wrapper to alpine images to run container with different user
Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
2022-11-30 21:32:37 +01:00
Wolfgang Walther
a0d95cc7bb Update to alpine 3.17 2022-11-30 17:06:55 +01:00
Docker Library Bot
1402244035 Update 11 to 11.18, bullseye 11.18-1.pgdg110+1 2022-11-10 11:02:18 -08:00
Docker Library Bot
bb963be60f Update 11 to 11.17, bullseye 11.17-1.pgdg110+1 2022-08-11 11:02:18 -07:00
Tianon Gravi
b979def1c4 Merge pull request #964 from fjf2002/patch-1
prep for possible `set -u` in docker-entrypoint.sh
2022-06-16 15:55:41 -07:00
fjf2002
74e51d102a prep for possible set -u in docker-entrypoint.sh
Update docker-entrypoint.sh
2022-06-16 15:11:37 -07:00
Tianon Gravi
899a216e56 Add "icu-data-full" to all Alpine images
See https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split
2022-06-03 10:11:20 -07:00
J0WI
1ae967e643 Alpine 3.16 2022-05-24 19:55:03 +02:00
Docker Library Bot
e97d27525d Update 11 to 11.16, bullseye 11.16-1.pgdg110+1, stretch 11.16-1.pgdg90+1 2022-05-12 11:02:21 -07:00
Tianon Gravi
e483778176 Remove unnecessary comment 2022-03-28 12:18:08 -07:00
Bjoern Hiller
b4604f5e16 Fix new zstd support for alpine images
In e8ebf74e50 zstd was installed as build
dependency and thus does not end up in the final image which in turn
renders docker-entrypoint.sh broken when using *.sql.zst files.
2022-03-26 08:20:40 +01:00
Héctor Molinero Fernández
e8ebf74e50 Add .sql.zst support to docker-entrypoint-initdb.d 2022-03-04 17:28:24 -08:00
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
dae067313a Update 11 to 11.15, bullseye 11.15-1.pgdg110+1, stretch 11.15-1.pgdg90+1 2022-02-10 11:02:47 -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
b5b5a2f0b3 Update 11 to 11.14, bullseye 11.14-1.pgdg110+1, stretch 11.14-1.pgdg90+1 2021-11-11 11:02:24 -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
415040d370 Update 11 to 11.13, buster 11.13-1.pgdg100+1, stretch 11.13-1.pgdg90+1 2021-08-12 11:02:23 -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
34821014a8 Update to 11.12 2021-05-14 06:02:22 +00:00
Docker Library Bot
9693709797 Update to 11.11 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
1dcdff4b41 Update to 11.10 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
a5a072f08a Update to 11.9 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
0de8bbbcdc Update to 11.8 2020-05-14 20:11:25 +00:00