Skip to content

Commit

Permalink
Adds character restrictions for process types.
Browse files Browse the repository at this point in the history
Character restrictions in process type strings allow us to make process type symlinks on both linux and windows filesystems

Signed-off-by: Emily Casey <ecasey@vmware.com>
  • Loading branch information
ekcasey committed Oct 12, 2020
1 parent 0aea8c9 commit 98e7f3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,9 @@ If multiple buildpacks define labels with the same key, the lifecycle MUST use t

For each process, the buildpack:

- MUST specify a `type` that is not identical to other process types provided by the same buildpack.
- MUST specify a `type`. `type`:
- MUST NOT be identical to other process types provided by the same buildpack.
- MUST only contain numbers, letters, and the characters ., _, and -.
- MUST specify a `command` that is either:
- A command sequence that is valid when executed using the shell, if `args` is not specified.
- A path to an executable or the file name of an executable in `$PATH`, if `args` is a list with zero or more elements.
Expand Down

0 comments on commit 98e7f3f

Please sign in to comment.