Skip to content

Commit

Permalink
bump tomcat to 9.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Jul 12, 2019
1 parent 6cacb8a commit 279bab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' }
Expand Down

0 comments on commit 279bab8

Please sign in to comment.