annotate trainingdb-usps/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 a5175713518c
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/usps-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
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
8 env DB_NAME=uspsdb \
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
9 DB_USER=usps \
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
10 DB_PASS=uspsdefault
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
11