From 07ac12dab8f22b279baed8417eff4c3221f0c6ed Mon Sep 17 00:00:00 2001 From: George Adams Date: Fri, 20 Sep 2024 09:07:19 +0100 Subject: [PATCH] experiment with kernel32.dll --- 23/jdk/windows/nanoserver-ltsc2022/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/23/jdk/windows/nanoserver-ltsc2022/Dockerfile b/23/jdk/windows/nanoserver-ltsc2022/Dockerfile index 5ffb8feed..abc323892 100644 --- a/23/jdk/windows/nanoserver-ltsc2022/Dockerfile +++ b/23/jdk/windows/nanoserver-ltsc2022/Dockerfile @@ -33,6 +33,9 @@ USER ContainerUser COPY --from=eclipse-temurin:23_37-jdk-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME +# 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 + RUN echo Verifying install ... \ && echo javac --version && javac --version \ && echo java --version && java --version \