Commit Graph

21 Commits

Author SHA1 Message Date
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 ef45b99086 Update 15 to 15.2, bullseye 15.2-1.pgdg110+1 2023-02-09 11:14:50 -08:00
Tianon Gravi 186c93e85d Update to gosu 1.16
See https://github.com/tianon/gosu/releases/tag/1.16 (especially https://github.com/tianon/gosu/blob/master/SECURITY.md)
2023-01-30 10:41:32 -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 75d0c1135e Update 15 to 15.1, bullseye 15.1-1.pgdg110+1 2022-11-10 11:19:30 -08:00
Docker Library Bot 648e5c7dc3 Update 15 to 15.0, bullseye 15.0-1.pgdg110+1 2022-10-14 09:20:15 -07:00
Docker Library Bot cdd56d3b51 Update 15 to 15rc2, bullseye 15~rc2-1.pgdg110+1 2022-10-06 17:02:31 -07:00
Docker Library Bot 66de12a7ee Update 15 to 15rc1, bullseye 15~rc1-1.pgdg110+1 2022-09-29 17:02:33 -07:00
Docker Library Bot 1554bd151d Update 15 to 15beta4, bullseye 15~beta4-1.pgdg110+1 2022-09-08 17:02:32 -07:00
Docker Library Bot 271cf940d0 Update 15 to 15beta3, bullseye 15~beta3-1.pgdg110+1 2022-08-11 12:03:58 -07:00
ImreSamu 7b8a5db552 PG15 alpine: enable Zstandard builds 2022-06-30 15:52:57 -07:00
Docker Library Bot 13c3f7a50f Update 15 to 15beta2, bullseye 15~beta2-1.pgdg110+1 2022-06-30 15:45:47 -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
Tianon Gravi 90f8530900 Add 15 pre-release 2022-05-23 10:32:56 -07:00