annotate java-17/Dockerfile @ 471:e5b896d77861

USASR-5154 try to get apt package
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 15:20:56 -0400
parents e8c329fe641d
children 44123bc3d4d4
rev   line source
425
934feeb03449 USASR-5154 added Java 17 Dockerfile
belknapSSDT <zach.belknap@mcoecn.org>
parents: 289
diff changeset
1 FROM openjdk:17
81
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
diff changeset
2
426
bb2b3172d497 USASR-5154 updated email
belknapSSDT <zach.belknap@mcoecn.org>
parents: 425
diff changeset
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
81
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
diff changeset
4
471
e5b896d77861 USASR-5154 try to get apt package
belknapSSDT <zach.belknap@mcoecn.org>
parents: 470
diff changeset
5 RUN apk update && apk add && echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/apt/sources.list \
465
3924a2ce29cf USASR-5154 added directory
belknapSSDT <zach.belknap@mcoecn.org>
parents: 464
diff changeset
6 && echo "deb http://security.debian.org/ stretch/updates main contrib" >> /etc/apt/sources.list \
114
a113282d9400 DEP-12: update java version and fix ms fonts installer
smith@nwoca.org
parents: 81
diff changeset
7 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
a113282d9400 DEP-12: update java version and fix ms fonts installer
smith@nwoca.org
parents: 81
diff changeset
8 && apt-get update \
a113282d9400 DEP-12: update java version and fix ms fonts installer
smith@nwoca.org
parents: 81
diff changeset
9 && apt-get install -y ttf-mscorefonts-installer \
a113282d9400 DEP-12: update java version and fix ms fonts installer
smith@nwoca.org
parents: 81
diff changeset
10 && apt-get clean \
a113282d9400 DEP-12: update java version and fix ms fonts installer
smith@nwoca.org
parents: 81
diff changeset
11 && apt-get autoremove -y \
a113282d9400 DEP-12: update java version and fix ms fonts installer
smith@nwoca.org
parents: 81
diff changeset
12 && rm -rf /var/lib/apt/lists/*
81
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
diff changeset
13
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
diff changeset
14 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:
diff changeset
15
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
diff changeset
16 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:
diff changeset
17 && dpkg-reconfigure --frontend noninteractive tzdata