diff java-17/Dockerfile @ 465:3924a2ce29cf

USASR-5154 added directory
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 13:19:34 -0400
parents 28d0107d194d
children 2dc06d00c6e1
line wrap: on
line diff
--- a/java-17/Dockerfile	Thu Sep 28 12:48:00 2023 -0400
+++ b/java-17/Dockerfile	Thu Sep 28 13:19:34 2023 -0400
@@ -2,8 +2,8 @@
 
 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
 
-RUN echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/apt/sources.list.d \
-    && echo "deb http://security.debian.org/ stretch/updates main contrib" >> /etc/apt/sources.list.d \
+RUN mkdir /etc/apt/sources.list && 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 \