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

Multicall launcher #356

Closed
ekcasey opened this issue Jul 30, 2020 · 0 comments · Fixed by #370
Closed

Multicall launcher #356

ekcasey opened this issue Jul 30, 2020 · 0 comments · Fixed by #370
Assignees

Comments

@ekcasey
Copy link
Member

ekcasey commented Jul 30, 2020

RFC 0045
RFC PR: buildpacks/rfcs#84
Spec Issue: buildpacks/spec#105
Spec PR: buildpacks/spec#118

Behavior

When Platform API >= 0.4:

exporter

  • export layer with /cnb/process/<type> symlinks
  • always export launcher to /cnb/lifecycle/launcher, not <launcher>
  • If the default process-type matches a process type
    • set the ENTRYPOINT to the default process symlink
  • Else
    • If there is exactly one process type
      - set the ENTRYPOINT to the only process symlink
    • Else set the ENTRYPOINT to /cnb/lifecycle/launcher
  • prepend /cnb/process to the PATH
  • don't set CNB_PROCESS_TYPE on app image

launcher

  • Select process type using $0
  • If a process type is selected, treat launcher arguments as additional args to the process type
@ekcasey ekcasey added this to the lifecycle-0.9.0 milestone Jul 30, 2020
@ekcasey ekcasey self-assigned this Aug 3, 2020
@ekcasey ekcasey linked a pull request Aug 6, 2020 that will close this issue
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