view trainingdb/Dockerfile @ 39:297b56dfba19

add training compose file
author smith@nwoca.org
date Wed, 20 Jan 2016 20:15:49 +0000
parents a5175713518c
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