diff 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
line wrap: on
line diff
--- a/postgres/Dockerfile	Fri Apr 08 21:40:03 2016 +0100
+++ b/postgres/Dockerfile	Mon Apr 11 17:46:42 2016 -0400
@@ -17,3 +17,7 @@
 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh \
     & chmod 755 /docker-entrypoint-initdb.d/setupExtensions.sh
 
+ENV TZ=America/New_York
+
+RUN     echo $TZ > /etc/timezone \
+    &&  dpkg-reconfigure --frontend noninteractive tzdata