annotate trainingdb/Dockerfile @ 36:a5175713518c

add training db images
author smith@nwoca.org
date Wed, 20 Jan 2016 13:47:23 -0500
parents
children 297b56dfba19
rev   line source
36
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
1 #
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
2 # Docker file to create postgres image for ssdt applications
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
3
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
4 FROM docker.ssdt.io/ssdt-postgres:2
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
5
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
6 MAINTAINER Dave Smith smith@nwoca.org
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
7
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
8 ENV PGDATA=/var/pgdata/trainingdata \
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
9 BACKUP_FILE=/training.backup.gz
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
10
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
11 COPY setupDatabase.sh /docker-entrypoint-initdb.d/
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
12
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
13 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh