pack icon indicating copy to clipboard operation
pack copied to clipboard

[RFC #0105] pack should support build image extension with Docker

Open natalieparellano opened this issue 2 years ago • 7 comments

RFC: https://github.com/buildpacks/rfcs/blob/main/text/0105-dockerfiles.md

Description

pack enables build image extension by calling the extender. However, this is sub-optimal. While enabling users to play with the feature, it is not performant, using kaniko under the hood.

Proposed solution

As pack already has access to a daemon, it can apply the dockerfiles directly, saving the extended build base image in the daemon. Thus it will not need to use the extender.

Additional context

In the build image case, having this feature will allow us to drop the requirement that the image being extended is published to a registry (because we are not using kaniko, we don't need a manifest).

Acceptance criteria

pack build with image extensions should complete N ms faster compared to pack build with image extensions now.

natalieparellano avatar Feb 06 '23 18:02 natalieparellano

I want to implement this function. How should I prepare? Are there any detailed reference steps?

cubxxw avatar Mar 06 '23 10:03 cubxxw

@cubxxw thank you for your interest! This issue is actually intended for the Google Summer of Code mentorship project (I've marked it blocked for now). If you're just interested in getting involved with pack, I'd suggest checking out one of our "good first issues". Or, if you are interested in applying to GSoC, here is some additional background about this issue that might be helpful:

Dockerfiles in the CNB spec is a relatively new and rather niche feature, but it unlocks a lot of use cases. Some prior knowledge of buildpacks will be useful in the implementation. See the tutorial here: https://buildpacks.io/docs/extension-author-guide/create-extension/ and the RFC here: https://github.com/buildpacks/rfcs/blob/main/text/0105-dockerfiles.md

natalieparellano avatar Mar 06 '23 17:03 natalieparellano

Hey @natalieparellano, I am Samyak Jain, a final year student pursuing B.Tech in Mathematics and Computing from Delhi Technological University. I find this project really interesting for GSOC'23. Could you help me out in getting started?

samyakjain10 avatar Mar 13 '23 07:03 samyakjain10

Hey @natalieparellano , I am Nandini, a second year student pursuing B.E in Information and Technology and I am interested in this project for GSOC 2023. I want to work on this. I am familiar with the technology that is required for this project.

Nandini99-git avatar Mar 14 '23 07:03 Nandini99-git

Hi @natalieparellano, I am a master from Zhejiang University, familiar with cloud native, kubernetes, docker and Go, I am also interested in this project and hope to participate in the community through this issue.

y-ykcir avatar Mar 15 '23 07:03 y-ykcir

Hi @natalieparellano , currently I am doing my research on cloud securtiy (specifically for conatainer security) , let me know if I can use my skill in contributing this issue.

for now I am going through the https://github.com/buildpacks/rfcs/blob/main/text/0105-dockerfiles.md Please share if something else requires to be done beforehand

riticksingh avatar Mar 24 '23 18:03 riticksingh

Dear team @natalieparellano , I am a master student from Shanghai Jiao Tong Unversity and TUM. I have great interests in this project. Do you still accept student to apply GSoC with this project? Should we solve the good first issue and then we can apply? Thank you very much.

ihanwen99 avatar Mar 30 '23 20:03 ihanwen99