diff java/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
children a113282d9400
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/java/Dockerfile	Mon Apr 11 17:46:42 2016 -0400
@@ -0,0 +1,13 @@
+FROM docker.ssdt.io/java:8-jre
+
+MAINTAINER Dave Smith <smith@nwoca.org>
+
+RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
+	&& echo 'deb http://httpredir.debian.org/debian jessie contrib' > /etc/apt/sources.list.d/jessie-contrib.list \
+    && apt-get update 									\
+    && apt-get install -y ttf-mscorefonts-installer
+
+ENV TZ=America/New_York
+
+RUN echo $TZ > /etc/timezone \
+    && dpkg-reconfigure --frontend noninteractive tzdata