From 04c8f4d51f9b6fef9299cc0942e08458a4204d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= Date: Mon, 31 Jul 2023 20:52:17 +0200 Subject: [PATCH] Switch from powershell:- to windows/: --- Jenkinsfile | 2 +- windows/nanoserver/Dockerfile | 2 +- windows/windowsservercore/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0ea73e282..35a7c275e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { axes { axis { name 'IMAGE_TYPE' - values 'linux', 'nanoserver-1809', 'nanoserver-ltsc2019', 'nanoserver-ltsc2022', 'windowsservercore-ltsc2019', 'windowsservercore-ltsc2022' + values 'linux', 'nanoserver-1809', 'nanoserver-ltsc2019', 'nanoserver-ltsc2022', 'windowsservercore-1809', 'windowsservercore-ltsc2019', 'windowsservercore-ltsc2022' } } stages { diff --git a/windows/nanoserver/Dockerfile b/windows/nanoserver/Dockerfile index eefbd9149..129287f57 100644 --- a/windows/nanoserver/Dockerfile +++ b/windows/nanoserver/Dockerfile @@ -27,7 +27,7 @@ ARG WINDOWS_VERSION_TAG=ltsc2019 ARG WINDOWS_VERSION_FALLBACK_TAG=1809 FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-"${WINDOWS_VERSION_FALLBACK_TAG}" AS jdk-core -FROM mcr.microsoft.com/powershell:nanoserver-"${WINDOWS_VERSION_FALLBACK_TAG}" +FROM mcr.microsoft.com/windows/nanoserver:"${WINDOWS_VERSION_TAG}" ARG JAVA_HOME="C:\openjdk-17" diff --git a/windows/windowsservercore/Dockerfile b/windows/windowsservercore/Dockerfile index 205630cc8..4e57960b7 100644 --- a/windows/windowsservercore/Dockerfile +++ b/windows/windowsservercore/Dockerfile @@ -27,7 +27,7 @@ ARG WINDOWS_VERSION_TAG=ltsc2019 ARG WINDOWS_VERSION_FALLBACK_TAG=1809 FROM eclipse-temurin:"${JAVA_VERSION}"-jdk-windowsservercore-"${WINDOWS_VERSION_FALLBACK_TAG}" AS jdk-core -FROM mcr.microsoft.com/powershell:windowsservercore-"${WINDOWS_VERSION_FALLBACK_TAG}" +FROM mcr.microsoft.com/windows/servercore:"${WINDOWS_VERSION_FALLBACK_TAG}" ARG JAVA_HOME="C:\openjdk-17" ENV JAVA_HOME=${JAVA_HOME}