Mercurial > public > ssdt-docker
changeset 478:8b3b95d8167d
USASR-5154 check version
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Thu, 28 Sep 2023 15:59:30 -0400 |
parents | d6bc968deccb |
children | 3affdeaf7971 |
files | java-17/Dockerfile |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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 \