diff java/Dockerfile @ 476:7061090570b9

USASR-5154 check version
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 15:58:20 -0400
parents b0b52c426f16
children d6bc968deccb
line wrap: on
line diff
--- a/java/Dockerfile	Thu Sep 28 15:47:27 2023 -0400
+++ b/java/Dockerfile	Thu Sep 28 15:58:20 2023 -0400
@@ -1,8 +1,8 @@
-FROM openjdk:8u181-jdk
+FROM openjdk:17
 
 MAINTAINER Dave Smith <smith@nwoca.org>
 
-RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \
+RUN java --version && echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \
     && echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \
     && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
     && apt-get update \