1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-29 21:41:20 +03:00

919 Commits

Author SHA1 Message Date
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
156d0659d0 Update 11 to 11.19, bullseye 11.19-1.pgdg110+1 2023-02-09 11:50:24 -08:00
ef45b99086 Update 15 to 15.2, bullseye 15.2-1.pgdg110+1 2023-02-09 11:14:50 -08:00
76f8f6610e Update 14 to 14.7, bullseye 14.7-1.pgdg110+1 2023-02-09 11:11:09 -08:00
c5d3ed25ba Update 13 to 13.10, bullseye 13.10-1.pgdg110+1 2023-02-09 11:06:56 -08:00
a728042653 Update 12 to 12.14, bullseye 12.14-1.pgdg110+1 2023-02-09 11:02:36 -08:00
4cee1a2117 Merge pull request #1040 from infosiftr/gosu-1.16
Update to gosu 1.16
2023-01-30 15:59:27 -08:00
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
a510f1341b Merge pull request #1027 from infosiftr/fix-power
Skip unavailable nss_wrapper on ppc64le
2022-12-22 14:50:27 -08:00
6ee0f2865b Skip unavailable nss_wrapper on ppc64le 2022-12-22 14:28:39 -08:00
ff5f92b39d Merge pull request #1026 from stanhu/sh-add-newlines-to-initdb
Add newline to `POSTGRES_PASSWORD` file for initdb
2022-12-22 14:00:10 -08:00
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
7a852f46d3 Merge pull request #1024 from infosiftr/no-echo
Convert all entrypoint "echo"s to "printf"
2022-12-21 12:01:43 -08:00
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
f8827c3ce6 Update generated README 2022-12-20 14:23:18 -08:00
4d8d99d25e Merge pull request #1018 from wolfgangwalther/nss_wrapper-alpine
Add nss_wrapper to alpine
2022-12-13 11:06:08 -08:00
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
39c3dc7046 Merge pull request #1017 from wolfgangwalther/alpine-3.17
Update to alpine 3.17
2022-11-30 10:23:33 -08:00
a0d95cc7bb Update to alpine 3.17 2022-11-30 17:06:55 +01:00
9e5ad3050b Use new "bashbrew" composite action 2022-11-16 14:07:28 -08:00
87f7834540 Merge pull request #1011 from infosiftr/eol-10
Remove PostgreSQL 10 (now EOL)
2022-11-14 15:05:23 -08:00
d3ceefcaaa Remove PostgreSQL 10 (now EOL)
https://www.postgresql.org/about/news/postgresql-151-146-139-1213-1118-and-1023-released-2543/
2022-11-10 12:39:01 -08:00
c3a0b48216 Update 10 to 10.23, bullseye 10.23-1.pgdg110+1 2022-11-10 12:28:06 -08:00
75d0c1135e Update 15 to 15.1, bullseye 15.1-1.pgdg110+1 2022-11-10 11:19:30 -08:00
e8ba287990 Update 14 to 14.6, bullseye 14.6-1.pgdg110+1 2022-11-10 11:15:16 -08:00
883b1c3f7b Update 13 to 13.9, bullseye 13.9-1.pgdg110+1 2022-11-10 11:11:01 -08:00
5ca94d535d Update 12 to 12.13, bullseye 12.13-1.pgdg110+1 2022-11-10 11:07:02 -08:00
1402244035 Update 11 to 11.18, bullseye 11.18-1.pgdg110+1 2022-11-10 11:02:18 -08:00
d940269b9c Merge pull request #1006 from infosiftr/ci-updates
Switch to "$GITHUB_OUTPUT"; update actions/checkout to v3
2022-10-17 21:56:52 +00:00
44bad5f836 Switch to "$GITHUB_OUTPUT"; update actions/checkout to v3
- https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands
- https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
2022-10-14 17:25:35 -07:00
747be59745 Update "latest" to 15 (GA) 2022-10-14 09:36:23 -07:00
648e5c7dc3 Update 15 to 15.0, bullseye 15.0-1.pgdg110+1 2022-10-14 09:20:15 -07:00
6928f49953 Update 14 to bullseye 14.5-2.pgdg110+2 2022-10-14 09:15:53 -07:00
cdd56d3b51 Update 15 to 15rc2, bullseye 15~rc2-1.pgdg110+1 2022-10-06 17:02:31 -07:00
66de12a7ee Update 15 to 15rc1, bullseye 15~rc1-1.pgdg110+1 2022-09-29 17:02:33 -07:00
1554bd151d Update 15 to 15beta4, bullseye 15~beta4-1.pgdg110+1 2022-09-08 17:02:32 -07:00
271cf940d0 Update 15 to 15beta3, bullseye 15~beta3-1.pgdg110+1 2022-08-11 12:03:58 -07:00
91cd38efaa Update 10 to 10.22, bullseye 10.22-1.pgdg110+1 2022-08-11 12:00:19 -07:00
56a1986772 Update 14 to 14.5, bullseye 14.5-1.pgdg110+1 2022-08-11 11:14:56 -07:00
701a1643a2 Update 13 to 13.8, bullseye 13.8-1.pgdg110+1 2022-08-11 11:10:58 -07:00
5d3efd36f0 Update 12 to 12.12, bullseye 12.12-1.pgdg110+1 2022-08-11 11:06:59 -07:00
bb963be60f Update 11 to 11.17, bullseye 11.17-1.pgdg110+1 2022-08-11 11:02:18 -07:00
623c00456e Update jq-template for speed improvements 2022-07-13 17:15:18 -07:00
eefb000142 Merge pull request #974 from BryanQuigley/drop_stretch
Drop Debian Stretch as it's EOL
2022-07-01 10:22:23 -07:00
8e31140eb3 Merge pull request #976 from ImreSamu/alpine-with-zstd
pg >=15 alpine: Enable Zstandard builds "--with-zstd"
2022-06-30 16:13:29 -07:00
7b8a5db552 PG15 alpine: enable Zstandard builds 2022-06-30 15:52:57 -07:00
13c3f7a50f Update 15 to 15beta2, bullseye 15~beta2-1.pgdg110+1 2022-06-30 15:45:47 -07:00
3c20b7bdb9 Drop Debian Stretch as it's EOL
It EOLs on June 30, 2022 per https://wiki.debian.org/LTS/Stretch.

Keep bullseye from being the default on Postgres 10 or 11 (per #582).
2022-06-27 14:37:53 -07:00
2f6878ca85 Update 14 to 14.4, bullseye 14.4-1.pgdg110+1 2022-06-17 05:02:33 -07:00
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