changeset 484:237618ae3f10

USASR-5154 revert
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 16:33:14 -0400
parents d21be5eaaddc
children cf306edf0141
files java-17/Dockerfile
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/java-17/Dockerfile	Thu Sep 28 16:26:29 2023 -0400
+++ b/java-17/Dockerfile	Thu Sep 28 16:33:14 2023 -0400
@@ -1,14 +1,13 @@
 FROM openjdk:17
-
 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
 
-RUN echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/yum.repos.d/sources.list \
-    && echo "deb http://security.debian.org/ stretch/updates main contrib" >> /etc/yum.repos.d/sources.list \
-    && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" \
-    && yum update \
-    && yum install -y ttf-mscorefonts-installer \
-    && yum clean \
-    && yum autoremove -y \
+RUN echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/apt/sources.list \
+    && echo "deb http://security.debian.org/ stretch/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