view trainingdb/Dockerfile @ 67:a1907dab3f65

add script to capture log files from compose containers
author smith@nwoca.org
date Fri, 18 Mar 2016 01:10:46 +0100
parents 297b56dfba19
children b2deadc0cf17
line wrap: on
line source

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

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