view trainingdb/Dockerfile @ 295:fb7d2a13bf6d

correct permissions
author Dave Smith <smith@nwoca.org>
date Thu, 27 Dec 2018 10:42:36 -0500
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