annotate trainingdb/Dockerfile @ 44:e5ba33051de7
add scripts and compose file for importing from server
author |
Dave smith <smith@nwoca.org> |
date |
Wed, 27 Jan 2016 17:19:19 -0500 |
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
|