view trainingdb/Dockerfile @ 155:570e192c21b4

DEP-12: fix permissions
author Dave smith <smith@nwoca.org>
date Fri, 21 Jul 2017 11:01:26 -0400
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