view trainingdb/Dockerfile @ 37:4cdd20de8b38

add training compose file
author smith@nwoca.org
date Wed, 20 Jan 2016 18:57:56 +0000
parents a5175713518c
children 297b56dfba19
line wrap: on
line source
#
# Docker file to create postgres image for ssdt applications

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/

RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh