| 1 |
FROM mcr.microsoft.com/powershell:windowsservercore-ltsc2022 |
| 2 |
|
| 3 |
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] |
| 4 |
|
| 5 |
# Install Chocolately |
| 6 |
RUN Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) |
| 7 |
|
| 8 |
# Install VC++ Redistributable 2022 |
| 9 |
RUN choco install -y vcredist140 |
| 10 |
|
| 11 |
# Install OpenSSL latest |
| 12 |
RUN choco install -y openssl --version=3.1.1 |
| 13 |
|
| 14 |
#Install Runtime Debug Libraries |
| 15 |
RUN choco install -y visualstudio2022buildtools --package-parameters '--includeRecommended --includeOptional --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.Component.VC.Runtime.UCRTSDK' --no-progress |