-
Notifications
You must be signed in to change notification settings - Fork 29
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
use Buildpacks to build function images from source code #418
Comments
what does the |
I think it can be ignored since the user can build a function image through |
maybe its also interesting for parts of this topic to look into the idea of distroless images, its advantages and the latest tooling, just see #448 |
Yes, it is common usage in Buildpacks to use distroless images as the Run image for the Stack. |
hey that's interesting to hear! was mentioning this, because in the issue you were writing:
maybe it's an option to think about distroless for all images needed |
What's the Buildpacks
please refer to this: https://buildpacks.io/docs/
Proposal
The tasks of the "buildpacks" in the above diagram are:
In this way, we can simplify the process of building function images.
Action items
In order to reach the goal, we need to accomplish the following three objectives.
create stack
The Build image can be a common operating system image, such as Ubuntu.
The Run image must be the function runner image, which contains the requirements for the function image.
create buildpacks
Building function images for different languages will require a varying number of buildpacks.
create builder
We need to make builder based on stack and buildpacks, which will be repeatedly used to build function images for the same programming language.
The text was updated successfully, but these errors were encountered: