From 3d2e4bb7e3591f66f0fc6eb359f096fb0f66ca6f 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 | 2 ++ 1 file changed, 2 insertions(+) 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