view trainingdb/Dockerfile @ 268:26e44fb3cb79 release/v2.2.0

flow: Created branch 'release/v2.2.0'.
author smith@nwoca.org
date Mon, 12 Nov 2018 21:24:01 +0000
parents 9129e39b00fa
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