annotate trainingdb/Dockerfile @ 85:8f45c43ea7a4 feature/djs-DEP-12-docker

DEP-12: start upgrading scripts and compose files for RC and docker 1.12
author Dave Smith <smith@nwoca.org>
date Wed, 21 Sep 2016 19:00:41 -0400
parents b2deadc0cf17
children 9129e39b00fa
rev   line source
36
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
1
82
b2deadc0cf17 USPSR-2298 Update usps db image to ssdt-postgres:3
Matt Calmes <calmes@nwoca.org>
parents: 39
diff changeset
2 FROM docker.ssdt.io/ssdt-postgres:3
36
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
3
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
4 MAINTAINER Dave Smith smith@nwoca.org
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
5
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
6 ENV PGDATA=/var/pgdata/trainingdata \
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
7 BACKUP_FILE=/training.backup.gz
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
8
39
297b56dfba19 add training compose file
smith@nwoca.org
parents: 36
diff changeset
9 COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh
36
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
10
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
11 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh