view trainingdb/Dockerfile @ 231:83f3340fe2a1

fix exec mode
author Dave smith <smith@nwoca.org>
date Mon, 06 Nov 2017 10:34:54 -0500
parents ab47ca9899ea
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