diff --git a/23/jdk/windows/nanoserver-ltsc2022/Dockerfile b/23/jdk/windows/nanoserver-ltsc2022/Dockerfile index 5ffb8feed..6d9d3444b 100644 --- a/23/jdk/windows/nanoserver-ltsc2022/Dockerfile +++ b/23/jdk/windows/nanoserver-ltsc2022/Dockerfile @@ -29,6 +29,8 @@ USER ContainerAdministrator RUN echo Updating PATH: %JAVA_HOME%\bin;%PATH% \ && setx /M PATH %JAVA_HOME%\bin;%PATH% \ && echo Complete. +# Copy kernel32.dll from C:\Windows\System32\forwarders to C:\Windows\System32 +RUN copy C:\Windows\System32\forwarders\kernel32.dll C:\Windows\System32\kernel32.dll USER ContainerUser COPY --from=eclipse-temurin:23_37-jdk-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME