annotate postgres/Dockerfile @ 42:2e2b47145349
add script to convert host pid into container name
author |
Dave smith <smith@nwoca.org> |
date |
Sun, 24 Jan 2016 10:04:59 -0500 |
parents |
82b5ed864aee |
children |
5c093612ce89 |
rev |
line source |
3
|
1 #
|
|
2 # Docker file to create postgres image for ssdt applications
|
|
3
|
13
|
4 FROM postgres:9.4.5
|
3
|
5
|
|
6 MAINTAINER Dave Smith smith@nwoca.org
|
|
7
|
13
|
8 ENV DB_NAME=database \
|
|
9 DB_USER=dbuser \
|
|
10 DB_PASS=dbpassword \
|
|
11 PGDATA=/var/lib/postgresql/data/pgdata
|
3
|
12
|
|
13 COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh
|
|
14
|
13
|
15 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh
|