diff java-17/Dockerfile @ 470:e8c329fe641d

USASR-5154 add apt-get
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 15:03:21 -0400
parents 94794d74caa9
children e5b896d77861
line wrap: on
line diff
--- a/java-17/Dockerfile	Thu Sep 28 14:55:52 2023 -0400
+++ b/java-17/Dockerfile	Thu Sep 28 15:03:21 2023 -0400
@@ -2,7 +2,7 @@
 
 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
 
-RUN cd /etc/ && ls && mkdir "apt/sources.list" && echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/apt/sources.list \
+RUN apt-get update && 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 \