Mercurial > public > ssdt-docker
diff java-17/Dockerfile @ 478:8b3b95d8167d
USASR-5154 check version
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Thu, 28 Sep 2023 15:59:30 -0400 |
parents | 965736387022 |
children | 3affdeaf7971 |
line wrap: on
line diff
--- a/java-17/Dockerfile Thu Sep 28 15:59:12 2023 -0400 +++ b/java-17/Dockerfile Thu Sep 28 15:59:30 2023 -0400 @@ -1,7 +1,7 @@ -FROM openjdk:17-jdk +FROM openjdk:17 MAINTAINER Marc Davis <davis@ssdt-ohio.org> -RUN echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/apt/sources.list \ +RUN java --version && 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 \