Commit Graph

73 Commits

Author SHA1 Message Date
Docker Library Bot 473b58e971 Update to 9.4.26 2020-02-14 07:02:14 +00:00
yosifkit 16dd8dbf87
Merge pull request #658 from infosiftr/more-mysql
Error when `POSTGRES_PASSWORD` is unset like mysql
2020-02-12 15:47:15 -08:00
Joe Ferguson 46161d6ab3 Add missing -n's to bash test 2020-01-09 16:19:13 -08:00
Joe Ferguson 42ce7437ee Error when POSTGRES_PASSWORD is unset like mysql
Add POSTGRES_HOST_AUTH_METHOD to bring back old behavior and be similar to MYSQL_ALLOW_EMPTY_PASSWORD, but add warning when "trust" is used since it disables all passwords
2020-01-09 16:19:02 -08:00
J0WI c4b019526a Add home dir 2020-01-01 01:31:50 +01:00
J0WI ada31ea8dc Add postgres directory and user 2019-12-23 02:21:09 +01:00
J0WI 1cbd3a1666 Upgrade to Alpine 3.11 2019-12-20 04:05:38 +01:00
Tianon Gravi 0d0485cb02
Merge pull request #647 from infosiftr/help
Check for "help" to short circuit server starting (since they break when passed to pg_ctl)
2019-12-03 09:43:18 -08:00
Joe Ferguson de2aa0bf56 Check for "help" to short circuit server starting (since they break when passed to pg_ctl) 2019-12-02 19:05:53 -08:00
Tianon Gravi 89a2fb84e6 Update temporary server to prefer PGPORT if set (since the client and server both normally respect that variable) 2019-12-02 18:07:23 -08:00
Tianon Gravi 34df4665bf Apply update.sh 2019-11-26 15:54:46 -08:00
Tianon Gravi 820323fa89 Adjust "docker_temp_server_start" to override port for consistent unix socket path 2019-11-25 17:15:02 -08:00
Docker Library Bot 138e95956f Update to 9.4.25 2019-11-15 13:02:11 +00:00
Joe Ferguson 8fada98158 Fixes from tianon's review 2019-11-12 16:00:40 -08:00
Joe Ferguson 7c84645f2d Apply update.sh for new entrypoint 2019-10-11 13:18:19 -07:00
Docker Library Bot 4b652bf95b Update to 9.4.24 2019-08-08 18:02:19 +00:00
yosifkit ba24350aa0
Merge pull request #590 from J0WI/alpine10
Upgrade Alpine to 3.10
2019-06-21 13:39:48 -07:00
Docker Library Bot d8e907ea04 Update to 9.4.23 2019-06-21 06:02:19 +00:00
J0WI f8e61ad42f Upgrade Alpine to 3.10 2019-06-20 15:02:51 +02:00
Tianon Gravi 5992d8be75 Update "Dockerfile-alpine.template" and apply "update.sh" (after verifying that 12 still builds and works properly without the added "-testing" repository) 2019-05-30 13:17:17 -07:00
Docker Library Bot 408356d52c Update to 9.4.22 2019-05-09 18:02:11 +00:00
Joe Ferguson 85aadc08c3 Move end of line comment to its own line to improve readability 2019-04-22 16:47:26 -07:00
Docker Library Bot fd5c083fcf Update to 9.4.21 2019-02-14 23:42:58 +00:00
J0WI cfac232e3c Update to Alpine 3.9 2019-01-31 14:43:28 +01:00
Tianon Gravi 45b855af13 Warn on POSTGRES_PASSWORD of 100+ characters 2019-01-08 16:48:03 -08:00
Docker Library Bot d564da5142 Update to 9.4.20 2018-11-08 16:43:57 +00:00
Tianon Gravi 3f585c58df Utilize "initdb" functionality better to allow "POSTGRES_INITDB_ARGS=--auth-local=md5"
This also closes a slight bug we've had previously where the "postgres" user is _always_ created (now we only create the user specified via the environment variables).
2018-09-06 13:49:43 -07:00
Tianon Gravi 36294f464a Update psql invocations to properly escape user input!
See also:

- https://stackoverflow.com/a/18683163/433558
- https://www.postgresql.org/docs/9.3/static/app-psql.html#APP-PSQL-VARIABLES
- https://www.postgresql.org/docs/9.3/static/app-psql.html#APP-PSQL-INTERPOLATION
2018-08-24 11:22:17 -07:00
Docker Library Bot 1cf0f1b313 Update to 9.4.19 2018-08-09 18:02:16 +00:00
Michael Käufl 34689e2a5b Apply changes from running ./update.sh 2018-07-09 16:35:20 +02:00
Tianon Gravi eff90effc6 Allow "initdb.d" scripts to be executed instead of sourced 2018-05-30 11:00:02 -07:00
Tianon Gravi fe89a60c9b Implement "nss_wrapper" for Debian variants 2018-05-24 11:39:50 -07:00
Docker Library Bot dcf1338d3a Update to 9.4.18 2018-05-10 16:58:08 +00:00
Codruț Constantin Gușoi 6fe8c15843 Listen only on the unix socket during init
Healthchecks that used `pg_isready -p 5432` were incorrectly flagging
the container as being healthy during initialization phase since
healthchecks are being run inside the container itself, so
`listen_addresses='localhost'` was not enough. Setting
`listen_addresses=''` forces the server to only listen on the unix
socket so no ports are open that might incorrectly interfeer with the
healthchecks.
2018-05-04 10:38:07 +01:00
Tianon Gravi c66fc738ed Update to Alpine 3.7 2018-04-23 15:06:17 -07:00
Docker Library Bot 34b633b01d Update to 9.4.17 2018-03-01 20:44:39 +00:00
Docker Library Bot dc36bbe68f Update to 9.4.16 2018-02-08 17:46:51 +00:00
Docker Library Bot cd2cafec4e Update to 9.4.15 2017-11-09 19:02:16 +00:00
Tianon Gravi f7dc5727b1 Fix PATH, especially for cyrillic characters in psql 2017-10-11 13:24:03 -07:00
Joe Ferguson 1089a8971b Adjust scanelf to properly detect runDeps 2017-09-22 14:19:38 -07:00
Docker Library Bot b2649f97ae Update to 9.4.14 2017-08-31 14:19:05 +00:00
Docker Library Bot 9d16e9e237 Update to 9.4.13 2017-08-10 18:03:22 +00:00
Tianon Gravi 2f0f505894 Apply update.sh 2017-07-27 16:54:40 -07:00
Tianon Gravi f3146f857b Update to 10beta2
This adds perl-ipc-run to Alpine since 10's configure script now requires it.
2017-07-14 09:43:00 -07:00
Joe Ferguson d8abce4e82 Add gpg when necessary, ensure `prove` exists 2017-06-21 17:01:35 -07:00
Tianon Gravi 2b0f642834 Update "git.savannah.gnu.org" URLs 2017-06-05 09:51:54 -07:00
Tianon Gravi 54053ad27a Adjust "/var/run/postgresql" permissions for arbitrary-user support 2017-05-19 10:46:58 -07:00
Docker Library Bot 6420763a8a Update to 9.4.12 2017-05-11 11:02:24 -07:00
Tianon Gravi 975f6a2705 Explicitly update "config.guess" and "config.sub" (and update "ossp-uuid" code) 2017-05-10 10:54:54 -07:00
Tianon Gravi bc44222ff8 Add explicit "--build" to our "./configure" invocations 2017-05-10 10:19:28 -07:00