Upgraded windows images to 20h2

This commit is contained in:
2022-04-05 02:42:09 +09:00
parent 2ede966b71
commit ec55e174db
9 changed files with 32 additions and 25 deletions

View File

@@ -1,9 +1,9 @@
FROM astrojs/pyrt-nanoserver-1809:latest as base
FROM astrojs/pyrt-nanoserver-20h2:latest as base
ENV JAVA_HOME=C:\\openjdk-11
ENV JAVA_VERSION=11.0.12
RUN setx PATH "$Env:JAVA_HOME\bin`;$Env:Path" /M
COPY --from=openjdk:11-jre-nanoserver-1809 /openjdk-11 /openjdk-11
COPY --from=openjdk:11-jre-nanoserver /openjdk-11 /openjdk-11
RUN echo Verifying install ... && echo java --version && java --version && echo Complete.