annotate trainingdb/Dockerfile @ 73:d2c44193fbaa
explictly remove db's before import
author |
smith@nwoca.org |
date |
Mon, 21 Mar 2016 22:17:55 +0100 |
parents |
297b56dfba19 |
children |
b2deadc0cf17 |
rev |
line source |
36
|
1
|
|
2 FROM docker.ssdt.io/ssdt-postgres:2
|
|
3
|
|
4 MAINTAINER Dave Smith smith@nwoca.org
|
|
5
|
|
6 ENV PGDATA=/var/pgdata/trainingdata \
|
|
7 BACKUP_FILE=/training.backup.gz
|
|
8
|
39
|
9 COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh
|
36
|
10
|
|
11 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh
|