From 276cd726a02bf4b602adeb7e06708f2ddd895967 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..489f9c86e 100644 --- a/23/jdk/windows/nanoserver-ltsc2022/Dockerfile +++ b/23/jdk/windows/nanoserver-ltsc2022/Dockerfile @@ -23,6 +23,9 @@ SHELL ["cmd", "/s", "/c"] ENV JAVA_VERSION=jdk-23+37 +# 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 + ENV JAVA_HOME C:\\openjdk-23 # "ERROR: Access to the registry path is denied." USER ContainerAdministrator