comparison trainingdb/Dockerfile @ 39:297b56dfba19

add training compose file
author smith@nwoca.org
date Wed, 20 Jan 2016 20:15:49 +0000
parents a5175713518c
children b2deadc0cf17
comparison
equal deleted inserted replaced
38:cd482d0a46e8 39:297b56dfba19
1 #
2 # Docker file to create postgres image for ssdt applications
3 1
4 FROM docker.ssdt.io/ssdt-postgres:2 2 FROM docker.ssdt.io/ssdt-postgres:2
5 3
6 MAINTAINER Dave Smith smith@nwoca.org 4 MAINTAINER Dave Smith smith@nwoca.org
7 5
8 ENV PGDATA=/var/pgdata/trainingdata \ 6 ENV PGDATA=/var/pgdata/trainingdata \
9 BACKUP_FILE=/training.backup.gz 7 BACKUP_FILE=/training.backup.gz
10 8
11 COPY setupDatabase.sh /docker-entrypoint-initdb.d/ 9 COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh
12 10
13 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh 11 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh