annotate trainingdb/Dockerfile @ 37:4cdd20de8b38
add training compose file
author |
smith@nwoca.org |
date |
Wed, 20 Jan 2016 18:57:56 +0000 |
parents |
a5175713518c |
children |
297b56dfba19 |
rev |
line source |
36
|
1 #
|
|
2 # Docker file to create postgres image for ssdt applications
|
|
3
|
|
4 FROM docker.ssdt.io/ssdt-postgres:2
|
|
5
|
|
6 MAINTAINER Dave Smith smith@nwoca.org
|
|
7
|
|
8 ENV PGDATA=/var/pgdata/trainingdata \
|
|
9 BACKUP_FILE=/training.backup.gz
|
|
10
|
|
11 COPY setupDatabase.sh /docker-entrypoint-initdb.d/
|
|
12
|
|
13 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh
|