annotate trainingdb/Dockerfile @ 53:f3773b50a88e
add cleanup script to remove obsolete images
author |
Dave smith <smith@nwoca.org> |
date |
Mon, 22 Feb 2016 21:21:16 -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
|