view trainingdb/Dockerfile @ 302:15d0cffd9980 production v2.5.0

flow: Merged <release> 'v2.5.0' to <master> ('production').
author smith@nwoca.org
date Wed, 01 May 2019 15:33:00 +0100
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