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

Explore buildah in place of kaniko #148

Open
matifali opened this issue Apr 26, 2024 · 1 comment
Open

Explore buildah in place of kaniko #148

matifali opened this issue Apr 26, 2024 · 1 comment
Labels
spike Investigation to prove feasibility or validate an idea

Comments

@matifali
Copy link
Member

https://buildah.io/

Buildah is an OCI image builder by the same team who builds podman. It's worth exploring if we can get any benefits using buildah in place of kaniko.

@coder-labeler coder-labeler bot added the spike Investigation to prove feasibility or validate an idea label Apr 26, 2024
@aaronlehmann
Copy link
Collaborator

We just migrated from using envbuilder directly to processing .devcontainer with envbuilder's devcontainer.Compile and invoking buildah with the resulting Dockerfile, env, etc. (also embedding buildah in our Go code). The big win for us is ability to prepull and unpack base images in advance so they are ready to go when running the actual build. This base image pulling and unpacking can dominate the build time with kaniko. Also, buildah uses overlayfs when available, so snapshotting is free and more robust than kaniko's userspace mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spike Investigation to prove feasibility or validate an idea
Projects
None yet
Development

No branches or pull requests

2 participants