1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-19 00:22:57 +03:00
Commit Graph

404 Commits

Author SHA1 Message Date
Pahaz Blinov
3d4e5e9f64 Simplify docker-entrypoint.sh append line 2017-04-06 14:32:45 -07:00
Tianon Gravi
123aedc09b Merge pull request #224 from DanielDent/master
POSTGRES_XLOG_DIR to specify transaction log dir
2017-03-20 10:10:03 -07:00
Tianon Gravi
913bc48bfd Update order to match other blocks and move "--xlogdir" handling down to where it'll be invoked regardless of our "root" status 2017-03-20 09:54:06 -07:00
yosifkit
64e333ff1f Merge pull request #255 from kurlzor/add-ossp-uuid
Add ossp uuid to the alpine 9.2 and 9.3 images
2017-03-06 15:19:59 -08:00
Tianon Gravi
439c4976af Minor whitespace and consistency changes 2017-03-06 14:45:24 -08:00
Régis Belson
6e1d6d6825 Add ossp-uuid so all the extensions can be built 2017-03-06 12:35:30 -08:00
Daniel Dent
89530f6020 POSTGRES_INITDB_XLOGDIR to specify xlog log dir
Adds support for the POSTGRES_INITDB_XLOGDIR environment variable, which specifies where the postgres transaction log is stored.

For some use cases, being able to place the transaction log on a different volume is useful.

Existing support for providing flags via $POSTGRES_INITDB_ARGS is inadequate because of the need to create and chown/chmod the directory prior to running initdb.
2017-02-28 14:05:26 -08:00
Tianon Gravi
7f792e7e4d Add "travis_retry" to our build to reduce transitory failures
Documentation is at https://docs.travis-ci.com/user/common-build-problems/#travis_retry

See https://github.com/docker-library/memcached/pull/14 for the test PR for this pattern.
2017-02-27 16:14:17 -08:00
Docker Library Bot
dd88d2f02a Update to 9.6.2 2017-02-09 11:02:21 -08:00
Docker Library Bot
a3b8f2bf53 Update to 9.3.16 2017-02-09 11:02:21 -08:00
Docker Library Bot
5408eaec65 Update to 9.4.11 2017-02-09 11:02:21 -08:00
Docker Library Bot
6870d3db74 Update to 9.3.16-1.pgdg80+1 2017-02-09 11:02:21 -08:00
Docker Library Bot
a869eeccfb Update to 9.5.6-1.pgdg80+1 2017-02-09 11:02:21 -08:00
Docker Library Bot
1e7af691a3 Update to 9.4.11-1.pgdg80+1 2017-02-09 11:02:21 -08:00
Docker Library Bot
5159417968 Update to 9.6.2-1.pgdg80+1 2017-02-09 11:02:21 -08:00
Docker Library Bot
738ec9015c Update to 9.5.6 2017-02-09 11:02:21 -08:00
Docker Library Bot
86ef6fa873 Update to 9.2.20 2017-02-09 11:02:21 -08:00
Docker Library Bot
8c03e6aed7 Update to 9.2.20-1.pgdg80+1 2017-02-09 11:02:21 -08:00
yosifkit
54f46e5713 Merge pull request #260 from infosiftr/docker-entrypoint.sh
Put "docker-entrypoint.sh" in PATH (with backwards-compat symlink)
2017-02-08 16:47:10 -08:00
Tianon Gravi
fc676766b4 Put "docker-entrypoint.sh" in PATH (with backwards-compat symlink) 2017-02-08 16:22:56 -08:00
Tianon Gravi
e43016225f Merge pull request #247 from kurlzor/keep-libs
Keep lib sources so the image can be used as a base image for postgis
2017-01-25 15:38:36 -08:00
Tianon Gravi
d7accc9c8c Add one more minor tweak on top of #253 2017-01-19 16:04:43 -08:00
yosifkit
00706ec7c2 Merge pull request #253 from infosiftr/any-user
Allow arbitrary --user values (mostly)
2017-01-19 15:39:05 -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
yosifkit
03a6cb67df Merge pull request #252 from infosiftr/var/run/postgresql
Use "/var/run/postgresql" consistently (and apply Debian's change of the default socket path to Alpine also)
2017-01-19 14:42:19 -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
Régis Belson
106e9e56fe Keep lib sources so the image can be used as a base image for postgis 2017-01-17 09:59:21 +01:00
yosifkit
a7a6cdf9d4 Merge pull request #246 from infosiftr/trusted.gpg.d
Use "/etc/apt/trusted.gpg.d" instead of "apt-key adv"
2017-01-10 16:11:19 -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
yosifkit
12462bdfdf Merge pull request #245 from infosiftr/alpine-3.5
Update to Alpine 3.5
2017-01-03 16:19:09 -08:00
Tianon Gravi
bcf8da33d8 Update to Alpine 3.5 2017-01-03 15:58:03 -08:00
yosifkit
069acf6f69 Merge pull request #243 from infosiftr/man-doc
Remove "doc" and "man" from Alpine images for size
2016-12-21 16:31:17 -08:00
Tianon Gravi
a7ba7f2b2d Remove "doc" and "man" from Alpine images for size
```
postgres  9.6-alpine-after    83c9edfc60a1        2 minutes ago       32.53 MB
postgres  9.6-alpine-before   56409b6ffc83        9 minutes ago       49.43 MB
```
2016-12-21 14:55:37 -08:00
Tianon Gravi
a00e979002 Merge pull request #234 from ruslantalpa/fix_231
Use -f flag when executing sql scripts (fix #231)
2016-12-12 11:57:58 -08:00
Joe Ferguson
4f3238cf60 Run update.sh 2016-12-12 10:42:05 -08:00
Docker Library Bot
1c018f151e Update to 9.6.1-2.pgdg80+1 2016-12-11 11:02:16 -08:00
Ruslan Talpa
e851d64ffc use -f flag when executing sql scripts 2016-12-11 07:26:29 +02:00
Tianon Gravi
819476b9e0 Merge pull request #202 from p0123n/master
Update generated "pg_hba.conf" content for IPv6 support
2016-12-06 13:46:19 -08:00
Tianon Gravi
5e7d985129 Apply change to all variants via update.sh 2016-12-06 12:55:40 -08:00
p0123n
dfef790cd6 Update docker-entrypoint.sh
IPv6 default rule added into pg_hba.conf

The "all" keyword instead of the IP notation
2016-12-06 12:55:14 -08:00
Tianon Gravi
d2b3854477 Merge pull request #226 from lockie/master
Add missing timezone info to alpine variant
2016-11-22 12:19:19 -08:00
Tianon Gravi
9c9887539c Expand bit.ly link and adjust wording a bit 2016-11-22 10:36:39 -08:00
yosifkit
1b0fec8cab Merge pull request #225 from infosiftr/file_env
Add "file_env" support, especially for Docker secrets
2016-11-22 10:27:20 -08:00
Andrew Kravchuk
b031aa8003 Add missing timezone info to alpine variant 2016-11-22 11:38:25 +03:00
Tianon Gravi
edd455e5b1 Add "file_env" support, especially for Docker secrets
This adds explicit support for the following:

- `POSTGRES_DB_FILE`
- `POSTGRES_INITDB_ARGS_FILE`
- `POSTGRES_PASSWORD_FILE`
- `POSTGRES_USER_FILE`
2016-11-21 13:44:36 -08:00
yosifkit
03f4064a04 Merge pull request #216 from infosiftr/alpine
Add Alpine variants
2016-11-07 16:27:34 -08:00
Tianon Gravi
797fadcad2 Add a note about "tzdata", adjust configuration appropriately, and remove fetch deps too 2016-11-03 14:59:10 -07: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
Natanael Copa
688e034f83 upgrade :9.5-alpine to 9.5.2 2016-11-03 12:44:03 -07:00
Natanael Copa
ec72b6db49 add 9.5-alpine to travis 2016-11-03 12:44:03 -07:00