annotate trainingdb-usas/Dockerfile @ 47:a0283d218ff5

handle training instances with prefix in directory name. use docker-compose.yml as template instead of linking. set application property to reduce memory requirements
author smith@nwoca.org
date Thu, 04 Feb 2016 22:39:09 +0000
parents 297b56dfba19
children 9129e39b00fa
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 FROM docker.ssdt.io/trainingdb
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
3
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
4 ADD http://files.ssdt.io/usas-training.backup.gz $BACKUP_FILE
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
5
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
6 RUN chmod a+r $BACKUP_FILE
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
7
39
297b56dfba19 add training compose file
smith@nwoca.org
parents: 36
diff changeset
8 ENV DB_NAME=usasdb \
36
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
9 DB_USER=usas \
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
10 DB_PASS=usasdefault
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
11