Hi,
Want to use docker in Windows server 2022 to run docker images based on the same OS for building software. I have used this page to create a Dockerfile:
However, if I execute docker build (as described in the tutorial) I get the following:
Step 3/4 : RUN curl -SL --output vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe && (start /w vs_buildtools.exe --quiet --wait --norestart --nocache --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" --add Microsoft.VisualStudio.Workload.AzureBuildTools --remove Microsoft.VisualStudio.Component.Windows10SDK.10240 --remove Microsoft.VisualStudio.Component.Windows10SDK.10586 --remove Microsoft.VisualStudio.Component.Windows10SDK.14393 --remove Microsoft.VisualStudio.Component.Windows81SDK || IF "%ERRORLEVEL%"=="3010" EXIT 0) && del /q vs_buildtools.exe
---> Running in 5694419ec733
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:01:11 --:--:-- 0
curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed
It seems it can’t do the SSL/TLS handshake. I don’t understand why. Executing a ping to aka.ms from the base image works fine.
Thanks!
Vincent