docker/windows: work around a python ssl issue

Python fails to validate github.com SSL certificate, unless we first
run a dummy download to force refreshing Windows' CA database.
See: https://bugs.python.org/issue36137

Adapted from patches by Xavier Claessens!
This commit is contained in:
Jordan Petridis 2020-01-22 13:59:44 +02:00 committed by GStreamer Merge Bot
parent 0320050e06
commit 23f303eb94

View file

@ -3,6 +3,11 @@
git config --global user.email "gst-build@gstreamer.net"
git config --global user.name "Gstbuild Runner"
# FIXME: Python fails to validate github.com SSL certificate, unless we first
# run a dummy download to force refreshing Windows' CA database.
# See: https://bugs.python.org/issue36137
(New-Object System.Net.WebClient).DownloadString("https://github.com") >$null
# Download gst-build and all its subprojects
git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git C:\gst-build