Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 3.1/windows/2019/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ RUN powershell -Command "Invoke-Expression ((New-Object System.Net.WebClient).Do
choco config set cacheLocation C:\chococache && \
choco upgrade chocolatey && \
choco install git && \
rmdir /q /s C:\chococache && \
Remove-Item -Path C:\chococache -Recurse -Force && \
echo Chocolatey install complete -- closing out layer (this can take awhile)

# Install Ruby + Devkit
RUN powershell -Command \
$ErrorActionPreference = 'Stop'; \
Write-Output 'Downloading Ruby + DevKit'; \
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
(New-Object System.Net.WebClient).DownloadFile('https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.1-1/rubyinstaller-devkit-3.1.1-1-x64.exe', 'c:\\rubyinstaller-devkit-3.1.1-1-x64.exe'); \
(New-Object System.Net.WebClient).DownloadFile('https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.2-1/rubyinstaller-devkit-3.1.2-1-x64.exe', 'c:\\rubyinstaller-devkit-3.1.2-1-x64.exe'); \
Write-Output 'Installing Ruby + DevKit'; \
Start-Process c:\rubyinstaller-devkit-3.1.1-1-x64.exe -ArgumentList '/verysilent /dir=C:\\ruby31' -Wait ; \
Start-Process c:\rubyinstaller-devkit-3.1.2-1-x64.exe -ArgumentList '/verysilent /dir=C:\\ruby31' -Wait ; \
Write-Output 'Cleaning up installation'; \
Remove-Item c:\rubyinstaller-devkit-3.1.1-1-x64.exe -Force; \
Remove-Item c:\rubyinstaller-devkit-3.1.2-1-x64.exe -Force; \
Write-Output 'Closing out the layer (this can take awhile)';