• ■ ■ ■ ■
    Dockerfile.windows
    1 1  ARG osVersion
    2 2  FROM mcr.microsoft.com/windows/servercore:$osVersion
    3  -RUN cmd /c @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
     3 +RUN cmd /c @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
    4 4  RUN choco install git --version 2.22.0 -y
    5 5  RUN choco install openjdk --version 11.0.2.01 -y
    6 6  RUN cmd /c rmdir /q /s %USERPROFILE%\AppData\Local\Temp\chocolatey
    skipped 3 lines
Please wait...
Page is in error, reload to recover