QtWasm
QtWasm copied to clipboard
Docker MSVC image
Problems:
- [ ] Configure GE proxy: https://docs.microsoft.com/en-us/virtualization/windowscontainers/container-networking/architecture , https://techcommunity.microsoft.com/t5/networking-blog/network-start-up-and-performance-improvements-in-windows-10/ba-p/339716
- [x] Install VS2019, CMake & Nuget: https://docs.microsoft.com/en-us/visualstudio/install/build-tools-container?view=vs-2019 , https://docs.microsoft.com/nb-no/visualstudio/install/workload-component-id-vs-professional?view=vs-2019
- [x] Install git, svn & python: https://chocolatey.org/install
- [x] Install Qt, handle Qt license
- [x] Add python modules (comtypes, numpy)
- [ ] Configure nuget, svn & git auth.
- [ ] Connect to Jenkins: https://www.jenkins.io/blog/2020/05/11/docker-windows-agents/ , https://blog.alexellis.io/continuous-integration-docker-windows-containers/
Links:
- https://github.com/qbs/qbs/blob/master/docker/windowsservercore/Dockerfile , https://github.com/qbs/qbs/blob/master/scripts/install-qt.sh
- VS2017, Qt 5.12: https://github.com/Mobsya/docker-images/blob/master/windows_dev_env/Dockerfile , https://github.com/Mobsya/docker-images/blob/master/windows_dev_env/qt-installer-noninteractive.qs
Reported issues:
- ~~https://github.com/MicrosoftDocs/Virtualization-Documentation/pull/1464~~
- https://developercommunity.visualstudio.com/idea/1175381/build-tools-in-container-doesnt-detect-container-b.html
- Docker proxy issue: https://github.com/docker/for-win/issues/3475
Test networking:
((New-Object System.Net.WebClient).DownloadString('https://github.build.ge.com'))
((New-Object System.Net.WebClient).DownloadString('https://www.news.com')) # The remote name could not be resolved: 'www.news.com'
Qt install proxy issue:
[900] Warning: Network error: [ QNetworkReply::HostNotFoundError ] "Failed to connect to server. Check your network connection and try again."
Chocolatey proxy issue:
Exception calling "DownloadString" with "1" argument(s): "The remote name could not be resolved: 'chocolatey.org'"
C:\Users\forde>docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
buildtools2019 latest 556de433574a 7 minutes ago 35.7GB
mcr.microsoft.com/dotnet/framework/sdk 4.8-windowsservercore-ltsc2019 69273dbf99c6 5 weeks ago 10.3GB