Mercurial > public > ssdt-docker
diff trainingdb/Dockerfile @ 36:a5175713518c
add training db images
author | smith@nwoca.org |
---|---|
date | Wed, 20 Jan 2016 13:47:23 -0500 |
parents | |
children | 297b56dfba19 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trainingdb/Dockerfile Wed Jan 20 13:47:23 2016 -0500 @@ -0,0 +1,13 @@ +# +# Docker file to create postgres image for ssdt applications + +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/ + +RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh