Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: Install OpenSSL standalone #107

Closed
wants to merge 4 commits into from
Closed
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: 8 additions & 0 deletions build_container/build_container_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ RunAndCheckError "python.exe" @("-m", "pip", "install", "--upgrade", "pip")
# Install wheel so rules_python rules will run
RunAndCheckError "pip.exe" @("install", "wheel")

# OpenSSL (installed to override openssl from msys2 which suffers from fork-emulation/DLL load issues)
DownloadAndCheck $env:TEMP\openssl-installer.exe `
https://slproweb.com/download/Win64OpenSSL_Light-1_1_1h.exe `
7337d933f5a79d52596745d0b6b7734a4d1e5e0906ac49a6f99188f7110173a3
# Arguments taken from: https://chocolatey.org/packages/openssl#files
RunAndCheckError "$env:TEMP\openssl-installer.exe" @("/VERYSILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/SP-") $true
AddToPath $env:ProgramFiles\OpenSSL-Win64\bin

# 7z only to unpack msys2
DownloadAndCheck $env:TEMP\7z-installer.exe `
https://www.7-zip.org/a/7z1900-x64.exe `
Expand Down