Tianon Gravi
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
Henrik Jonsson
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
yosifkit
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
Mike Dillon
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
Tianon Gravi
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
Mike Dillon
c444bceb4f
Run /docker-entrypoint-initdb.d/*.sql scripts as $POSTGRES_USER
2015-08-24 17:03:11 -07:00
Tianon Gravi
2273ec160e
Add initial .travis.yml
2015-08-21 23:14:41 -07:00
Tianon Gravi
7111ef75d6
Run update.sh
2015-08-21 15:39:01 -07:00
Tianon Gravi
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
Renzo Kottmann
0ffbeb796d
fixed missing quotes and removed curly braces according to discussion
2015-08-21 14:37:18 +02:00
Tianon Gravi
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
Tianon Gravi
7fed4298db
Update to 9.5~alpha2-1.pgdg80+1
2015-08-11 10:44:23 -07:00
Renzo Kottmann
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
yosifkit
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
yosifkit
574a975e19
Merge pull request #76 from infosiftr/wget
...
Switch from curl to wget
2015-07-24 10:04:38 -07:00
Tianon Gravi
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
Tianon Gravi
66c7b2dee7
Improve initdb logic to properly source *.sql files as well, without the use of --single
2015-07-23 14:17:33 -07:00
Tianon Gravi
0ced079cd6
Fix "-s" usage
2015-07-21 16:12:07 -07:00
Tianon Gravi
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
Victor Heng
9c7bb73021
Check that PG_VERSION is non-empty.
2015-07-19 00:41:18 +08:00
Victor Heng
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
yosifkit
403dc53653
Merge pull request #71 from infosiftr/jessie
...
Switch from "wheezy" over to "jessie"
2015-07-08 10:07:42 -07:00
Tianon Gravi
cb70a79c1a
Switch from "wheezy" over to "jessie"
2015-07-08 09:55:30 -07:00
yosifkit
09eabaadf5
Merge pull request #70 from infosiftr/9.5
...
Add 9.5-alpha1
2015-07-08 09:54:38 -07:00
Tianon Gravi
88e2c825c3
Lol whups
2015-07-08 09:54:15 -07:00
Tianon Gravi
e677b56172
Add 9.5-alpha1
2015-07-08 09:47:57 -07:00
Tianon Gravi
bfca9b8a92
Update to 9.0.22-1.pgdg70+1, 9.1.18-1.pgdg70+1, 9.2.13-1.pgdg70+1, 9.3.9-1.pgdg70+1, and 9.4.4-1.pgdg70+1
2015-06-12 10:35:39 -07:00
Tianon Gravi
c97dd449e0
Merge pull request #66 from infosiftr/8.4-eol
...
Remove 8.4 (EOL)
2015-06-04 14:39:15 -07:00
Tianon Gravi
544dfeabb8
Remove 8.4 (EOL)
...
See http://www.postgresql.org/support/versioning/ -- it's been EOL since July 2014.
2015-06-04 14:38:23 -07:00
Tianon Gravi
a6d4922823
Update to 9.0.21-1.pgdg70+1, 9.1.17-1.pgdg70+1, 9.2.12-1.pgdg70+1, 9.3.8-1.pgdg70+1, 9.4.3-1.pgdg70+1
2015-06-04 14:31:08 -07:00
Tianon Gravi
904b463723
Update to 9.0.20-2.pgdg70+1 and 9.1.16-2.pgdg70+1
2015-06-02 10:06:13 -07:00
Joe Ferguson
4b132fa76a
Run update.sh: minor version bumps
2015-05-22 16:14:47 -07:00
Tianon Gravi
e5cd70b504
Merge pull request #56 from infosiftr/gpg-keys
...
More resilient gpg getting
2015-04-23 12:28:19 -06:00
Joe Ferguson
77438cd8e1
More resilient gpg getting
...
- move to "high-availability" [subset](https://sks-keyservers.net/overview-of-pools.php#pool_ha ).
2015-04-22 17:37:09 -07:00
Tianon Gravi
628ecb4975
Merge pull request #52 from md5/chown-run-postgresql
...
Ensure /run/postgresql has correct ownership and permissions
2015-03-11 12:35:42 -06:00
Mike Dillon
e616341507
Ensure /run/postgresql has correct ownership
...
Fixes #50
2015-03-09 13:03:14 -07:00
yosifkit
ebecea2954
Merge pull request #49 from rothgar/postgres_db_var
...
Added POSTGRES_DB variable to optionally specify DB name
2015-02-23 15:32:21 -08:00
Tianon Gravi
57de8c8cd8
2015
2015-02-23 13:50:50 -07:00
Justin Garrison
796f3f151e
"!...=" != "!=" ❗
2015-02-19 22:37:53 -08:00
Justin Garrison
5950846753
Fixed checks for USER/DB combinations :ok_hand::squirrel:
2015-02-13 23:30:13 -08:00
Tianon Gravi
6e89f39c23
Merge pull request #48 from infosiftr/hba
...
Update pg_hba generation
2015-02-13 16:59:42 -08:00
Joe Ferguson
8f80834e93
Update pg_hba generation
2015-02-13 16:47:54 -08:00
Justin Garrison
1438bacac6
Forgot CREATE DATABASE variable
2015-02-13 11:17:55 -08:00
Justin Garrison
c863eb3471
updated template docker-entrypoint
2015-02-13 09:54:07 -08:00
Justin Garrison
167c2ae963
missed variable in 9.1 entrypoint.sh
2015-02-13 09:44:07 -08:00
Justin Garrison
80fa682789
retabed files
2015-02-12 16:32:07 -08:00
Justin Garrison
8e22601253
Added POSTGRES_DB variable to optionally specify DB name
2015-02-12 16:07:53 -08:00
Tianon Gravi
baf80692b5
Update to 9.4.1-1.pgdg70+1, 9.3.6-1.pgdg70+1, 9.2.10-1.pgdg70+1, 9.1.15-1.pgdg70+1, and 9.0.19-1.pgdg70+1
2015-02-05 11:34:14 -07:00
Tianon Gravi
51e5166d69
Switch from pgp.mit.edu to pool.sks-keyservers.net
2015-01-08 23:41:38 -07:00
Tianon Gravi
c9d9f4c1a0
Minor formatting/output changes
2014-12-24 16:43:17 -07:00