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

Add docs for 'platform.os' field in package.toml #242

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions content/docs/reference/config/package-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ A [buildpackage][package] configuration schema is as follows:
- **`image`** _(string)_\
A registry location (if no registry host is specified in the image name, DockerHub is assumed).

- #### `platform` _(optional)_
The expected runtime environment for the buildpackage. It should contain the following field:

- **`os`** _(string, optional)_\
The operating system type that the buildpackage will run on. Only `linux` or `windows` is supported. If omitted, `linux` will be the default.


## Further Reading

You can view [sample buildpackages](/~https://github.com/buildpacks/samples/tree/main/packages) on Github.
Expand Down