Skip to content

Commit

Permalink
Switch from powershell:<windows_flavor>-<windows_tag> to windows/<win…
Browse files Browse the repository at this point in the history
…dows_flavor>:<windows_tag>
  • Loading branch information
lemeurherve committed Jul 31, 2023
1 parent 86b69e6 commit 04c8f4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion windows/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion windows/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 04c8f4d

Please sign in to comment.