annotate java-17/Dockerfile @ 481:0701c3e10254

USASR-5154 replace apt with yum
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 16:21:52 -0400
parents 52cf091c3e0e
children f240eb72a331
rev   line source
478
8b3b95d8167d USASR-5154 check version
belknapSSDT <zach.belknap@mcoecn.org>
parents: 475
diff changeset
1 FROM openjdk:17
480
52cf091c3e0e USASR-5154 ...
belknapSSDT <zach.belknap@mcoecn.org>
parents: 479
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
481
0701c3e10254 USASR-5154 replace apt with yum
belknapSSDT <zach.belknap@mcoecn.org>
parents: 480
diff changeset
5 RUN cd /etc/ && ls && echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/yum.repos.d/sources.list \
0701c3e10254 USASR-5154 replace apt with yum
belknapSSDT <zach.belknap@mcoecn.org>
parents: 480
diff changeset
6 && echo "deb http://security.debian.org/ stretch/updates main contrib" >> /etc/yum.repos.d/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 \
481
0701c3e10254 USASR-5154 replace apt with yum
belknapSSDT <zach.belknap@mcoecn.org>
parents: 480
diff changeset
8 && yum update \
0701c3e10254 USASR-5154 replace apt with yum
belknapSSDT <zach.belknap@mcoecn.org>
parents: 480
diff changeset
9 && yum install -y ttf-mscorefonts-installer \
0701c3e10254 USASR-5154 replace apt with yum
belknapSSDT <zach.belknap@mcoecn.org>
parents: 480
diff changeset
10 && yum clean \
0701c3e10254 USASR-5154 replace apt with yum
belknapSSDT <zach.belknap@mcoecn.org>
parents: 480
diff changeset
11 && yum autoremove -y \
114
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