diff --git a/Dockerfile b/Dockerfile index 4a77f3e..7dacb73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2016 #settings ENV JAVA_OPTS='-Xmx3000m' ENV TOMCAT_MAJOR_VERSION=9 -ENV TOMCAT_VERSION=9.0.21 +ENV TOMCAT_VERSION=9.0.22 ENV CATALINA_HOME=c:\\Tomcat ENV IDP_VERSION=3.4.4 ENV TIERVERSION=20190701 @@ -65,7 +65,7 @@ RUN del C:\corretto-java-%CORRETTO_VERSION% COPY container_files/config.ini c:\\config.ini RUN powershell (new-object System.Net.WebClient).Downloadfile('http://www.apache.org/dist/tomcat/tomcat-%TOMCAT_MAJOR_VERSION%/v%TOMCAT_VERSION%/bin/apache-tomcat-%TOMCAT_VERSION%.exe', 'C:\apache-tomcat-%TOMCAT_VERSION%.exe') RUN powershell If ((Get-FileHash C:\apache-tomcat-%TOMCAT_VERSION%.exe -Algorithm SHA512).Hash.ToLower() -eq ` \ - '18bb722854b434d11e03e75c04254c095e92716a70d4159331685d4f472640bdb2662f1c013e99fd600112519d2a4ca76f9cf278a59e49ae37b1c76db6995d0d') ` \ + '6c57ebde8f72762729e6ea6d1ccbc2bba4b5fb81f98b9cb1e8a19028828d56263c90b55b8d31bbc52582ef0e90cc00d07f30885122b2fcb27f4f2ad6dcb099f0') ` \ { ` \ start-process -filepath C:\apache-tomcat-%TOMCAT_VERSION%.exe -passthru -wait -argumentlist '/S','/C=c:\config.ini','/D=c:\Tomcat' ` \ } Else { throw 'bad hash comparison on Tomcat download' }