Mercurial > public > ssdt-docker
view postgres/Dockerfile @ 80:5c093612ce89
DEP-10: add uuid extension to database
author | smith@nwoca.org |
---|---|
date | Fri, 08 Apr 2016 21:40:03 +0100 |
parents | 82b5ed864aee |
children | 53671513b240 |
line wrap: on
line source
# # Docker file to create postgres image for ssdt applications FROM postgres:9.4.5 MAINTAINER Dave Smith smith@nwoca.org ENV DB_NAME=database \ DB_USER=dbuser \ DB_PASS=dbpassword \ PGDATA=/var/lib/postgresql/data/pgdata COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh COPY setupExtensions.sh /docker-entrypoint-initdb.d/setupExtensions.sh RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh \ & chmod 755 /docker-entrypoint-initdb.d/setupExtensions.sh