view trainingdb/Dockerfile @ 227:0add40f5c5b7 release/v1.7.0

flow: Closed <release> 'v1.7.0'.
author smith@nwoca.org
date Mon, 09 Oct 2017 21:35:35 +0100
parents ab47ca9899ea
children 9afc8cb478f6
line wrap: on
line source

FROM docker.ssdt.io/ssdt-postgres:5

MAINTAINER Dave Smith smith@nwoca.org

ENV PGDATA=/var/pgdata/trainingdata \
    BACKUP_FILE=/training.backup.gz

COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh

RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh