From 7ea04a7370a7df5e88fe403d87cd18314ed14b65 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Mon, 27 May 2024 14:09:54 +0200 Subject: [PATCH] chore: bump amazon corretto windows SHAs and java versions --- amazoncorretto-11-windowsservercore/Dockerfile | 4 ++-- amazoncorretto-17-windowsservercore/Dockerfile | 4 ++-- amazoncorretto-8-windowsservercore/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/amazoncorretto-11-windowsservercore/Dockerfile b/amazoncorretto-11-windowsservercore/Dockerfile index 36d1552d..c0e65625 100644 --- a/amazoncorretto-11-windowsservercore/Dockerfile +++ b/amazoncorretto-11-windowsservercore/Dockerfile @@ -10,14 +10,14 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref ARG zip=amazon-corretto-11-x64-windows-jdk.zip ARG uri=https://corretto.aws/downloads/latest -ARG hash=fedd8fdd3bff520e455c1210fabcad1408e5eafbd5fcdec5836f6701a418d57b +ARG hash=519401037ff4d571f92f3fa471e577499b461fe8fd9cffedf983333f041f159a RUN Invoke-WebRequest -Uri $('{0}/{1}' -f $env:uri,$env:zip) -OutFile C:/$env:zip ; ` if((Get-FileHash C:/$env:zip -Algorithm SHA256).Hash.ToLower() -ne $env:hash) { exit 1 } ; ` Expand-Archive -Path C:/$env:zip -Destination C:/ProgramData ; ` Remove-Item C:/${env:zip} -ENV JAVA_HOME=C:/ProgramData/jdk11.0.22_7 +ENV JAVA_HOME=C:/ProgramData/jdk11.0.23_9 ARG USER_HOME_DIR="C:/Users/ContainerUser" ARG MAVEN_VERSION=3.9.6 diff --git a/amazoncorretto-17-windowsservercore/Dockerfile b/amazoncorretto-17-windowsservercore/Dockerfile index 7db32d24..27a70fef 100644 --- a/amazoncorretto-17-windowsservercore/Dockerfile +++ b/amazoncorretto-17-windowsservercore/Dockerfile @@ -10,14 +10,14 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref ARG zip=amazon-corretto-17-x64-windows-jdk.zip ARG uri=https://corretto.aws/downloads/latest -ARG hash=5ad854ad8ae988958244c635bdc03f583b4406f8b3995829a268c43f08d5ce39 +ARG hash=e785e2cbfedb33399ddde232bf3e2e8cf1a3cc3c811c5bbd2989fc6d6bea8c47 RUN Invoke-WebRequest -Uri $('{0}/{1}' -f $env:uri,$env:zip) -OutFile C:/$env:zip ; ` if((Get-FileHash C:/$env:zip -Algorithm SHA256).Hash.ToLower() -ne $env:hash) { exit 1 } ; ` Expand-Archive -Path C:/$env:zip -Destination C:/ProgramData ; ` Remove-Item C:/${env:zip} -ENV JAVA_HOME=C:/ProgramData/jdk17.0.10_7 +ENV JAVA_HOME=C:/ProgramData/jdk17.0.11_9 ARG USER_HOME_DIR="C:/Users/ContainerUser" ARG MAVEN_VERSION=3.9.6 diff --git a/amazoncorretto-8-windowsservercore/Dockerfile b/amazoncorretto-8-windowsservercore/Dockerfile index e6aa6b78..89c312c2 100644 --- a/amazoncorretto-8-windowsservercore/Dockerfile +++ b/amazoncorretto-8-windowsservercore/Dockerfile @@ -10,14 +10,14 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref ARG zip=amazon-corretto-8-x64-windows-jdk.zip ARG uri=https://corretto.aws/downloads/latest -ARG hash=460b08c44b89ee82ed206374629a3c9422b2ce13b314bc335c910a3d564ee36e +ARG hash=ac7a2c1020b18c74c0155efac525b36827468e95bf343a721e12027066c16633 RUN Invoke-WebRequest -Uri $('{0}/{1}' -f $env:uri,$env:zip) -OutFile C:/$env:zip ; ` if((Get-FileHash C:/$env:zip -Algorithm SHA256).Hash.ToLower() -ne $env:hash) { exit 1 } ; ` Expand-Archive -Path C:/$env:zip -Destination C:/ProgramData ; ` Remove-Item C:/${env:zip} -ENV JAVA_HOME=C:/ProgramData/jdk1.8.0_402 +ENV JAVA_HOME=C:/ProgramData/jdk1.8.0_412 ARG USER_HOME_DIR="C:/Users/ContainerUser" ARG MAVEN_VERSION=3.9.6