Skip to content

Commit

Permalink
experiment with kernel32.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Sep 20, 2024
1 parent 32e1e85 commit b3b1bd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 23/jdk/windows/nanoserver-ltsc2022/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ 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
RUN copy C:\Windows\System32\forwarders\shell32.dll C:\Windows\System32\shell32.dll
RUN copy C:\Windows\System32\forwarders\advapi32.dll C:\Windows\System32\advapi32.dll
USER ContainerUser

COPY --from=eclipse-temurin:23_37-jdk-windowsservercore-ltsc2022 $JAVA_HOME $JAVA_HOME
Expand Down

0 comments on commit b3b1bd3

Please sign in to comment.