annotate trainingdb/Dockerfile @ 388:23d40b345e1e
INV-197 create db backup helper scripts for inventory and workflow
author |
Matt Calmes <calmes@ssdt-ohio.org> |
date |
Mon, 18 Oct 2021 06:33:33 -0400 |
parents |
9129e39b00fa |
children |
9afc8cb478f6 |
rev |
line source |
36
|
1
|
198
|
2 FROM docker.ssdt.io/ssdt-postgres:5
|
36
|
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
|