changeset 510:7ffbb0f123e8

USASR-5154 list operating system
author belknapSSDT <zach.belknap@mcoecn.org>
date Fri, 29 Sep 2023 12:59:44 -0400
parents cd2fb1609cab
children 9ba85a0aa135
files java-17/Dockerfile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/java-17/Dockerfile	Fri Sep 29 12:57:14 2023 -0400
+++ b/java-17/Dockerfile	Fri Sep 29 12:59:44 2023 -0400
@@ -1,7 +1,8 @@
 FROM openjdk:17
+
 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
 
-RUN ls && cd /etc/ && ls && echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/apt/sources.list \
+RUN cat /etc/os-release && ls && cd /etc/ && ls && 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 \