view trainingdb/Dockerfile @ 131:70ec01165f8e

DEP-12: fix permissions
author Dave smith <smith@nwoca.org>
date Mon, 08 May 2017 14:43:56 -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