Skip to content
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

Support for windows buildpackages #107

Closed
micahyoung opened this issue Nov 13, 2020 · 0 comments · Fixed by #116
Closed

Support for windows buildpackages #107

micahyoung opened this issue Nov 13, 2020 · 0 comments · Fixed by #116

Comments

@micahyoung
Copy link

micahyoung commented Nov 13, 2020

Requesting support for generating Windows-formatted buildpackages, which are the same as typical buildpackages, except that they are Windows-formatted OCI images instead of Linux-formatted OCI images.

They are generated with identical pack package-buildpack syntax except the package.toml contains a platform section [pack docs]:

Example:

[platform]
  os = "windows"

Additionally, pack currently requires experimental = true to be set in the ~/.pack/config.toml to create Windows buildpackages.

The pipeline-descriptor.yml section to enable this could be:

package:
  repository:   gcr.io/paketo-buildpacks/sample-buildpack
  platform:     { os: "windows" }

When the descriptor's platform section is omitted, the corresponding package.toml's platform section would be omitted (implicitly using pack's default which is currently linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant