Tianon Gravi
5c0e796bb6
Switch from SKS to Ubuntu keyserver
...
See also https://github.com/docker-library/faq#openpgp--gnupg-keys-and-verification and https://github.com/tianon/pgp-happy-eyeballs
2021-06-22 14:00:05 -07:00
Tianon Gravi
517c64f87e
Add initial jq-based templating engine
2021-06-16 10:36:52 -07:00
Daniel Huhn
bfc5d81c8f
Change default STOPSIGNAL from SIGTERM to SIGINT
2020-09-18 12:03:49 -07:00
Tianon Gravi
682ff83c5c
Add workaround for https://bugs.debian.org/929417 when building 13 from source
2020-05-21 14:26:23 -07:00
Tianon Gravi
a1420dac64
Update to gosu 1.12
2020-04-16 00:30:52 -07:00
Hakan Dilek
72d7408ad3
Do not install recommended dependencies
...
This results in a ~80MB image size reduction.
2020-02-21 16:14:34 -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
87b15b6c65
Use explicit "hkps" for keys.openpgp.org
2019-07-03 07:48:26 -07:00
Tianon Gravi
faf08dbfd0
Switch from ha.pool.sks-keyservers.net to keys.openpgp.org for fetching Tianon's PGP key
2019-07-02 15:09:19 -07:00
Joe Ferguson
85aadc08c3
Move end of line comment to its own line to improve readability
2019-04-22 16:47:26 -07:00
Angus McInnes
f8bfec9c70
Bump gosu version
...
Closes https://github.com/docker-library/postgres/issues/539
2018-12-28 15:49:10 +11:00
Tianon Gravi
040949af15
Use "dpkg-divert" on our sample configuration file (instead of just replacing it)
...
This should stop our changes from getting overwritten when folks do weird things like upgrade PostgreSQL inside the image (which isn't a good idea, but this change is still more correct anyhow).
2018-11-20 15:33:22 -08:00
Tianon Gravi
d61fd19b69
Update "gpg" invocations to use "--batch"
...
See https://bugs.debian.org/913614
2018-11-14 12:22:21 -08:00
Tianon Gravi
064113e0e4
Add "stretch-backports" to 11+ for clang-6.0
...
(also, remove *.pyc files for size)
2018-08-21 14:39:06 -07:00
Tianon Gravi
726128b358
Fix Debian "postgres" user HOME (to match Debian package)
...
See 997d842ee7/debian/postgresql-common.postinst (L32-35) for the bit of the upstream Debian package which sets this.
2018-08-17 13:00:10 -07:00
Tianon Gravi
635fd0bcb3
Add "pgp-happy-eyeballs" in Travis to help cut down on gpg-related issues
2018-07-25 12:34:27 -07:00
Tianon Gravi
fe89a60c9b
Implement "nss_wrapper" for Debian variants
2018-05-24 11:39:50 -07:00
Tianon Gravi
ef4545c07b
Update to Debian Stretch (slim)
2018-04-23 15:16:30 -07:00
Tianon Gravi
3b022607be
Swap from "gnupg2" to "gnupg"
...
See https://github.com/docker-library/python/issues/236 for details.
2017-11-01 13:53:25 -07:00
Tianon Gravi
f7dc5727b1
Fix PATH, especially for cyrillic characters in psql
2017-10-11 13:24:03 -07:00
Tianon Gravi
cd3f3b1c48
Use "apt-get source --compile" to build for Debian architectures upstream doesn't
2017-08-30 21:57:04 -07:00
Joe Ferguson
c686efac7c
Adjust the apt-sources line to use the DEBIAN_SUITE
2017-06-22 10:59:57 -07:00
Joe Ferguson
972294a377
Fix failure to remove non-existent gpg files
2017-06-22 10:25:36 -07:00
Joe Ferguson
d8abce4e82
Add gpg when necessary, ensure `prove` exists
2017-06-21 17:01:35 -07:00
Joe Ferguson
a4b217591a
Add 10~beta1
2017-06-21 16:03:02 -07:00
Tianon Gravi
54053ad27a
Adjust "/var/run/postgresql" permissions for arbitrary-user support
2017-05-19 10:46:58 -07:00
Tianon Gravi
fc676766b4
Put "docker-entrypoint.sh" in PATH (with backwards-compat symlink)
2017-02-08 16:22:56 -08:00
Tianon Gravi
3706d4c456
Allow arbitrary --user values (mostly)
...
One special case is that `initdb` _requires_ the current user to exist in `/etc/passwd`, but running PostgreSQL itself does not require that.
2017-01-19 14:59:34 -08:00
Tianon Gravi
b68154ed79
Use "/var/run/postgresql" consistently (and apply Debian's change of the default socket path to Alpine also)
2017-01-19 14:24:15 -08:00
Tianon Gravi
ea6f466b25
Use "/etc/apt/trusted.gpg.d" instead of "apt-key adv"
...
> Note: Instead of using this command a keyring should be placed
> directly in the /etc/apt/trusted.gpg.d/ directory with a
> descriptive name and either "gpg" or "asc" as file extension.
https://manpages.debian.org/cgi-bin/man.cgi?query=apt-key&manpath=Debian+testing+stretch
2017-01-10 15:58:17 -08:00
Tianon Gravi
a9c1b15a7a
Sync a bit more with the Debian configure flags (adding comments for where we differ) and add all versions (including "update.sh" and "generate-stackbrew-library.sh" changes, with our new template)
2016-11-03 14:18:48 -07:00