Added docker windows container for dev

This commit is contained in:
2021-09-05 23:16:37 +08:00
parent 7419c1c869
commit 01dca50e2e
16 changed files with 217 additions and 44 deletions

9
windows/jre/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM astrojs/pyrt-nanoserver-1809: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
RUN echo Verifying install ... && echo java --version && java --version && echo Complete.