Skip to content

Commit

Permalink
Any stack buildpacks
Browse files Browse the repository at this point in the history
Stack ID requirements have been removed from the buildpack API specification. PR #154 moves these requirements to the platform specification with the other stack requirements.

Signed-off-by: Emily Casey <ecasey@vmware.com>
  • Loading branch information
ekcasey committed Oct 16, 2020
1 parent 86833ad commit 3d89d68
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions buildpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -972,11 +972,13 @@ If an `order` is specified, then `stacks` MUST NOT be specified.

A buildpack descriptor that specifies `stacks` MUST describe a buildpack that implements the [Buildpack Interface](#buildpack-interface).

Stack authors MUST choose a globally unique ID, for example: "io.buildpacks.mystack".

The stack ID:
- MUST only contain numbers, letters, and the characters `.`, `/`, and `-`.
- MUST NOT be identical to any other stack ID when using a case-insensitive comparison.
Each stack in `stacks` either:
- MUST identify a compatible stack:
- `id` MUST be set to a valid stack ID.
- `mixins` MAY contain one or more mixin names.
- Or MUST indicate compatibility with any stack:
- `id` MUST be set to the special value `"*"`.
- `mixins` MUST be empty.

#### Order Buildpacks

Expand Down

0 comments on commit 3d89d68

Please sign in to comment.