-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Python][Packaging] Revisit Windows wheel Docker setup #45156
Comments
I'm looking at this today and have made some progress. My image so far is only 7.57GB whereas the existing wheel image is 26.8GB which is a nice savings. So far I have,
This currently starts with a warning "The system cannot find the file specified." which I think means more components are needed so I'm looking at that now. |
Installing a Win10/11 SDK fixes the warning at startup, |
Thanks a lot for working on this @amoeba ! Just a question: is there a reason to pin this issue? |
Hrm, no and I'm not sure how I did that. Maybe there's a shortcut? Either way, it's unpinned now. |
… use newer base image (#45442) ### Rationale for this change See #45156. Refactors our previous Windows Docker CI images from an unofficial image to the official Microsoft one based on Windows Server 2022 and adds VS2022 BuildTools. ### What changes are included in this PR? - New Windows base Dockerfiles - Updated Dockerfiles which build on top of that base - Updated Docker Compose services to use new images ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #45156 Lead-authored-by: Bryce Mecum <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Bryce Mecum <[email protected]>
Issue resolved by pull request 45442 |
…ges to use newer base image (apache#45442) ### Rationale for this change See apache#45156. Refactors our previous Windows Docker CI images from an unofficial image to the official Microsoft one based on Windows Server 2022 and adds VS2022 BuildTools. ### What changes are included in this PR? - New Windows base Dockerfiles - Updated Dockerfiles which build on top of that base - Updated Docker Compose services to use new images ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: apache#45156 Lead-authored-by: Bryce Mecum <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Bryce Mecum <[email protected]>
…ges to use newer base image (apache#45442) ### Rationale for this change See apache#45156. Refactors our previous Windows Docker CI images from an unofficial image to the official Microsoft one based on Windows Server 2022 and adds VS2022 BuildTools. ### What changes are included in this PR? - New Windows base Dockerfiles - Updated Dockerfiles which build on top of that base - Updated Docker Compose services to use new images ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: apache#45156 Lead-authored-by: Bryce Mecum <[email protected]> Co-authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Bryce Mecum <[email protected]>
Describe the enhancement requested
Our Windows wheel build setup currently uses Docker images based on https://hub.docker.com/r/abrarov/msvc-2019
This image is old and contains unwanted software.
We should instead try to build our own images from scratch.
It's possible to install the VS Build Tools in a container image:
https://learn.microsoft.com/en-us/visualstudio/install/build-tools-container?view=vs-2022
https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2022
Initial research suggests this command:
Component(s)
Continuous Integration, Packaging, Python
The text was updated successfully, but these errors were encountered: