changeset 425:934feeb03449

USASR-5154 added Java 17 Dockerfile
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 27 Sep 2023 11:20:59 -0400
parents 52c2ec5ddeb5
children bb2b3172d497
files java-17/Dockerfile
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/java-17/Dockerfile	Wed Sep 27 11:20:59 2023 -0400
@@ -0,0 +1,17 @@
+FROM openjdk:17
+
+MAINTAINER Marc Davis <davis@nwoca.org>
+
+RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \
+    && echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \
+    && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
+    && apt-get update \
+    && apt-get install -y ttf-mscorefonts-installer \
+    && apt-get clean \
+    && apt-get autoremove -y \
+    && rm -rf /var/lib/apt/lists/*
+
+ENV TZ=America/New_York
+
+RUN echo $TZ > /etc/timezone \
+    && dpkg-reconfigure --frontend noninteractive tzdata