Mercurial > public > ssdt-docker
view trainingdb/Dockerfile @ 47:a0283d218ff5
handle training instances with prefix in directory name. use docker-compose.yml as template instead of linking. set application property to reduce memory requirements
author | smith@nwoca.org |
---|---|
date | Thu, 04 Feb 2016 22:39:09 +0000 |
parents | 297b56dfba19 |
children | b2deadc0cf17 |
line wrap: on
line source
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/setupDatabase.sh RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh