view trainingdb/Dockerfile @ 181:5c4e8cc8d75d

flow: Promoted <hotfix> 'v1.2.2' (ae2b4a5294ff) to 'default'.
author smith@nwoca.org
date Mon, 11 Sep 2017 22:01:37 +0100
parents b2deadc0cf17
children 9129e39b00fa
line wrap: on
line source

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

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