Can we have empty OS images? #9388
Replies: 2 comments 2 replies
-
Hello! There were multiple asks of providing slim images (images with the reduced number of packages installed), and why we understand the need we have no plans of providing those, currently. |
Beta Was this translation helpful? Give feedback.
-
While it is not ideal, you may be able to test it in a docker container based on the For example, in Pillow we need to test that the built Python wheels do not have a dependency on Visual C++ Redistributable being installed and use a Docker container like so: |
Beta Was this translation helpful? Give feedback.
-
(Couldn't see a template to create a feature request in the issue tracker, but feel free to move there if you have the power to do so.)
Some of my builds test the installers for software that is included in the default images. Because it is already installed on those images, it's not possible for me to run the tests I need. It would be great to have optional images that do not have all the included software, but instead rely on installing artifacts from previous build stages.
Using self-hosted runners isn't a great option, as if the uninstall fails, the persistent runner will fail repeatedly. Having fresh machines each time is a really important step in this kind of task.
I mainly need this in Azure Pipelines, but I don't see why it wouldn't be useful in GHA too.
Beta Was this translation helpful? Give feedback.
All reactions