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

[RFC #0105] - Dockerfiles #224

Open
37 of 42 tasks
natalieparellano opened this issue Jun 23, 2022 · 1 comment
Open
37 of 42 tasks

[RFC #0105] - Dockerfiles #224

natalieparellano opened this issue Jun 23, 2022 · 1 comment

Comments

@natalieparellano
Copy link
Member

natalieparellano commented Jun 23, 2022

RFC #0105 - Dockerfiles

📖 🌎 For a brief tour of what has shipped so far, consult these docs

Phase 1 - switching the run image

In this phase of the implementation, image extensions may output run.Dockerfiles in order to switch the runtime base image based on which buildpacks detected.
The detector binary should run /bin/detect for buildpacks and extensions, run /bin/generate for extensions, and determine the new run image from the generated Dockerfiles.

Spec:

Lifecycle:

Phase 2 - extending the build image

In this phase of the implementation, image extensions may output build.Dockerfiles in order to extend the build time base image.
The extender binary, running as root, should apply the Dockerfiles in the order determined during detect, and then drop privileges before executing the build phase.

Spec:

Lifecycle:

Pack:

Samples:

Documentation:

Phase 3 - extending the run image

In this phase of the implementation, image extensions may output Dockerfiles OR run.Dockerfiles in order to extend the runtime base image.
The extender binary, running as root, should apply the Dockerfiles in the order determined during detect, and then provide a reference to the extended run image to the platform, so that the platform can provide this during the export phase.

Spec:

Lifecycle:

Libcnb:

  • TBD
  • Released in libcnb version TBD

Pack:

Samples:

Documentation:

Optimizations

@cmoulliard
Copy link

cmoulliard commented Jun 24, 2022

Should we also include a link to a paketo's github EPIC as they will also have to support extensions Dockerfiles ?

@natalieparellano natalieparellano changed the title [RFC #TBD] - Dockerfiles [RFC #0105] - Dockerfiles Aug 23, 2022
@natalieparellano natalieparellano self-assigned this Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants