1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-28 10:42:06 +03:00
Commit Graph

717 Commits

Author SHA1 Message Date
2184bbc2d7 Run update.sh 2016-02-26 10:59:41 -08:00
41e7a62fb4 Refactor listen_addresses to be set in the sample file, and make the sample file easier to overwrite 2016-02-26 10:55:10 -08:00
ec5ce80ca9 Merge pull request #123 from joshdholtz/version-updates
Version updates
2016-02-11 14:13:43 -07:00
443c7947d5 Version updates 2016-02-11 14:45:48 -06:00
fdd11b1d06 Merge pull request #122 from infosiftr/eol-9.0
Remove the now-EOL 9.0
2016-01-26 09:21:37 -08:00
4870bf13e3 Remove the now-EOL 9.0
It's been EOL since September 2015; see http://www.postgresql.org/support/versioning/
2016-01-26 09:08:06 -08:00
12a7b7b7d2 Merge pull request #118 from orzeh/master
Stops docker-entrypoint.sh on psql error
2016-01-19 12:37:27 -08:00
916a840510 Stops docker-entrypoint.sh on psql error
This fixes #112
2016-01-19 09:57:59 +01:00
762e079370 Update to 9.4.5-2.pgdg80+1 2016-01-15 11:18:26 -08:00
9737ce4eeb Merge pull request #113 from rchicoli/update_keyserver
use the keyserver ha, because the other one is not reachable anymore
2016-01-09 11:04:48 -08:00
a7551affea use the keyserver ha, because the other one is not reachable anymore 2016-01-09 12:41:06 +01:00
2c72165e4f Update to 9.5.0 2016-01-07 10:27:31 -08:00
4774c03af4 Merge pull request #110 from JacobHayes/set-PGDATA-permissions
Set PGDATA permissions to 700
2016-01-05 15:16:08 -08:00
d164485094 Don't set perm on data dir recursively 2016-01-05 16:49:58 -06:00
86fcd0c100 Explicitly set PGDATA permissions to 700 2015-12-22 15:50:44 -06:00
d74474439c Update to 9.5~rc1-1.pgdg80+1 2015-12-18 13:30:39 -08:00
12abe51e4b Update .travis.yml to account for Travis changes (especially now that Docker is no longer experimental 🎉) 2015-11-20 09:50:24 -08:00
a9c0b01d4d Update README.md stub 2015-11-16 13:47:05 -08:00
8a9fbcb40f Update to 9.5~beta2-1.pgdg80+1 2015-11-11 09:16:36 -08:00
570880e6eb Merge pull request #102 from infosiftr/shell
Simplify update.sh
2015-10-23 11:02:36 -07:00
fa0598512c Add Travis CI badge 2015-10-22 16:50:49 -07:00
1d798788f5 Simplify update.sh 2015-10-22 12:33:44 -07:00
fc014b79c3 Propagate #93 to Dockerfile.template 2015-10-14 09:08:05 -07:00
ed23320582 Merge pull request #93 from hkjn/master
Explicitly set uid/gid for postgres/postgres
2015-10-08 14:57:15 -07:00
b9ea5d40cb Update to 9.1.19-1.pgdg80+1, 9.2.14-1.pgdg80+1, 9.3.10-1.pgdg80+1, 9.4.5-1.pgdg80+1, and 9.5~beta1-1.pgdg80+1
Fixes #95
2015-10-08 09:30:26 -07:00
8f8c0bbc52 Explicitly set uid/gid for postgres/postgres
The values 999:999 are identical to the current user/group id assigned
in the containers (tested in postgres:9.4, but should be identical for
all versions), but this guarantees that those values will remain the
same even if the groupadd/useradd commands were moved elsewhere in the
Dockerfile, or a new debian:jessie image was pushed.

Tested:
core@test-1 ~ $ docker run -v $(pwd):/origin --rm -it debian:jessie bash -c 'groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres && mkdir /origin/pg && chown -R postgres:postgres /origin/pg'
core@test-1 ~ $ ls -hsal pg/
total 8.0K
4.0K drwxr-xr-x 2  999  999 4.0K Sep 22 12:57 .
4.0K drwxr-xr-x 5 core core 4.0K Sep 22 12:59 ..

core@test-1 ~ $ rm -rf pg/
core@test-1 ~ $ docker run -v $(pwd):/origin --rm -it --user=root postgres:9.4 bash -c 'mkdir /origin/pg && chown -R postgres:postgres /origin/pg'
core@test-1 ~ $ ls -hsal pg/
total 8.0K
4.0K drwxr-xr-x 2  999  999 4.0K Sep 22 12:59 .
4.0K drwxr-xr-x 5 core core 4.0K Sep 22 12:59 ..
2015-09-22 14:51:58 +02:00
87b8be7e9b Merge pull request #84 from appropriate/export-entrypoint-vars
Export POSTGRES_USER and POSTGRES_DB vars in entrypoint
2015-08-26 09:09:52 -07:00
cd294bf8df Export POSTGRES_USER and POSTGRES_DB vars in entrypoint
Allows them to be used from /docker-entrypoint-initdb.d/*.sh scripts
2015-08-25 20:30:57 -07:00
118e25a737 Merge pull request #82 from appropriate/initdb-sql-as-POSTGRES_USER
Run /docker-entrypoint-initdb.d/*.sql scripts as $POSTGRES_USER
2015-08-24 17:10:01 -07:00
c444bceb4f Run /docker-entrypoint-initdb.d/*.sql scripts as $POSTGRES_USER 2015-08-24 17:03:11 -07:00
2273ec160e Add initial .travis.yml 2015-08-21 23:14:41 -07:00
7111ef75d6 Run update.sh 2015-08-21 15:39:01 -07:00
486194c97f Merge pull request #80 from renzok/fix-server-start
more sane way of starting and stopping postgres server using pg_ctl
2015-08-21 15:38:14 -07:00
0ffbeb796d fixed missing quotes and removed curly braces according to discussion 2015-08-21 14:37:18 +02:00
18220a2065 Enhance "generate-stackbrew-library.sh" to only take into account changes to the Dockerfile or files from COPY in the Dockerfile for choosing the commit hash for a particular directory 2015-08-11 15:12:43 -07:00
7fed4298db Update to 9.5~alpha2-1.pgdg80+1 2015-08-11 10:44:23 -07:00
d49499cd7c more sane way of starting and stopping postgres server using pg_ctl as recommended per postgresql docs 2015-08-04 17:17:39 +02:00
a82c28e1c4 Merge pull request #75 from infosiftr/better-initdb
Improve initdb logic to properly source *.sql files as well, without the use of --single
2015-07-24 10:58:29 -07:00
574a975e19 Merge pull request #76 from infosiftr/wget
Switch from curl to wget
2015-07-24 10:04:38 -07:00
63d966973d Switch from curl to wget
There are several packages that "curl" pulls in which are then never removed -- "wget" does not have this problem.
2015-07-23 14:33:15 -07:00
66c7b2dee7 Improve initdb logic to properly source *.sql files as well, without the use of --single 2015-07-23 14:17:33 -07:00
0ced079cd6 Fix "-s" usage 2015-07-21 16:12:07 -07:00
28b8bd7456 Merge pull request #72 from bakavic/fix-gce
Check that vol actually contains DB files, as opposed to a non-empty dir.
2015-07-20 11:09:28 -07:00
9c7bb73021 Check that PG_VERSION is non-empty. 2015-07-19 00:41:18 +08:00
3231f4a4d8 Check that vol actually contains DB files, as opposed to a non-empty dir.
Referencing file list here: http://www.postgresql.org/docs/9.1/static/storage-file-layout.html
2015-07-14 19:25:53 +08:00
403dc53653 Merge pull request #71 from infosiftr/jessie
Switch from "wheezy" over to "jessie"
2015-07-08 10:07:42 -07:00
cb70a79c1a Switch from "wheezy" over to "jessie" 2015-07-08 09:55:30 -07:00
09eabaadf5 Merge pull request #70 from infosiftr/9.5
Add 9.5-alpha1
2015-07-08 09:54:38 -07:00
88e2c825c3 Lol whups 2015-07-08 09:54:15 -07:00
e677b56172 Add 9.5-alpha1 2015-07-08 09:47:57 -07:00