annotate trainingdb-usps/Dockerfile @ 529:579a61f2037d

add conditionals for ess db when backing up databases.
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 02 May 2024 22:42:40 -0400
parents 9129e39b00fa
children 9afc8cb478f6
rev   line source
36
a5175713518c add training db images
smith@nwoca.org
parents:
diff changeset
1
198
9129e39b00fa DEP-12: update training db scripts
smith@nwoca.org
parents: 36
diff changeset
2 FROM docker-dev.ssdt.io/trainingdb
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 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