This adds stacks and builders to let users, buildpack authors and lifecycle contributors have access to a Windows-like environments during build/detect phases, using only a Linux daemon. It can also help more advanced contributors to understand the differences between Linux and Windows functionality. It may also help catch and debug Windows bugs in cnb components.
The main limitations are:
Wine's emulation is very similar to native WCOW but not identical.
Generated app images are Windows-formatted and realistically runnable on Linux daemon, so run image is based on scratch to limit confusion.
Buildpackages cannot be used as they'd confusingly need to be Linux-formatted but would be added intact to the generated Windows-formatted image.
This adds stacks and builders to let users, buildpack authors and lifecycle contributors have access to a Windows-like environments during build/detect phases, using only a Linux daemon. It can also help more advanced contributors to understand the differences between Linux and Windows functionality. It may also help catch and debug Windows bugs in cnb components.
The main limitations are:
scratch
to limit confusion.More background and usage described in builders/wine/README.html.
I published a sample builder to my personal repo
micahyoung/sample-builder:wine
with can be used to build this branch'sapps/batch-script
:From commit
Signed-off-by: Micah Young ymicah@vmware.com