EricHripko / cnbp

BuildKit frontend for Cloud Native Buildpacks
Apache License 2.0
5 stars 3 forks source link

Implement project.toml processing #1

Closed jromero closed 3 years ago

jromero commented 3 years ago

This change also includes a minimal sample ruby app for testing and e2e targets in Makefile to improve the development feedback loop.

NOTE: I haven't fully implemented or explored additional options that may reside under io.buildpacks.ext.buildkit. As of right now I added "previous image" with the hope of being able to target and gather information from an existing image on the daemon as part of the analyze phase.

NOTE 2: The config package could also be responsible for resolving the final configuration to use as part of the BuildKit process by merging all possible configuration mechanisms into a final resolved data type. For example, build-args + project.toml + env vars = "resolved config".

EricHripko commented 3 years ago

Now I added "previous image" with the hope of being able to target and gather information from an existing image on the daemon as part of the analyze phase.

I'm hopeful that frontends can somehow be made aware of this. Submitted a question to BuildKit folks under https://github.com/moby/buildkit/issues/2097