Skip to content

Commit

Permalink
Merge pull request #7 from buildpack/relax-ids
Browse files Browse the repository at this point in the history
[WG 2018-09-11] Relax specification for buildpack and stack IDs
  • Loading branch information
sclevine authored Oct 17, 2018
2 parents 04e3a43 + 4101603 commit 2af45fa
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions buildpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,10 +594,17 @@ run-images = ["<run image tag>"]
```

Buildpack authors MUST choose a globally unique ID, for example: "io.buildpacks.ruby".
The buildpack ID MUST contain at least one period (`.`).

The buildpack ID:
- MUST only contain numbers, letters, and the charactors `.`, `/`, and `-`.
- MUST NOT be `config` or `app`.
- MUST NOT be identical to any other buildpack ID when using a case-insensitive comparison.

Stack authors MUST choose a globally unique ID, for example: "io.buildpacks.mystack".
The stack ID MUST contain at least one period (`.`).

The stack ID:
- MUST only contain numbers, letters, and the charactors `.`, `/`, and `-`.
- MUST NOT be identical to any other buildpack ID when using a case-insensitive comparison.

The stack `build-images` and `run-images` are suggested sources of the image for platforms that are unaware of the stack ID.

Expand Down

0 comments on commit 2af45fa

Please sign in to comment.