Mercurial > public > ssdt-docker
annotate postgres/Dockerfile @ 81:53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
author | smith@nwoca.org |
---|---|
date | Mon, 11 Apr 2016 17:46:42 -0400 |
parents | 5c093612ce89 |
children | 4b8eb7301ae0 |
rev | line source |
---|---|
3 | 1 # |
2 # Docker file to create postgres image for ssdt applications | |
3 | |
13 | 4 FROM postgres:9.4.5 |
3 | 5 |
6 MAINTAINER Dave Smith smith@nwoca.org | |
7 | |
13 | 8 ENV DB_NAME=database \ |
9 DB_USER=dbuser \ | |
10 DB_PASS=dbpassword \ | |
11 PGDATA=/var/lib/postgresql/data/pgdata | |
3 | 12 |
13 COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh | |
14 | |
80 | 15 COPY setupExtensions.sh /docker-entrypoint-initdb.d/setupExtensions.sh |
16 | |
17 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh \ | |
18 & chmod 755 /docker-entrypoint-initdb.d/setupExtensions.sh | |
19 | |
81
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
80
diff
changeset
|
20 ENV TZ=America/New_York |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
80
diff
changeset
|
21 |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
80
diff
changeset
|
22 RUN echo $TZ > /etc/timezone \ |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
80
diff
changeset
|
23 && dpkg-reconfigure --frontend noninteractive tzdata |