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

Setting up script and documentation to configure buildkit #697

Open
Tracked by #695
fahedouch opened this issue Feb 10, 2025 · 0 comments
Open
Tracked by #695

Setting up script and documentation to configure buildkit #697

fahedouch opened this issue Feb 10, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@fahedouch
Copy link

fahedouch commented Feb 10, 2025

Hi Folks,

The current implementation of dib uses Kaniko as the build backend. This ticket aims to migrate the builder implementation to use BuildKit, which provides better performance, caching, and functionality.

The target of this ticket is to set up script(s) and configuration to install and run BuildKit:

We have two options to set up BuildKit:

  • Setting up BuildKit with containerd worker: BuildKit relies on containerd to manage containers and images, etc. containerd needs to be up and running on the host (supports rootless and rootful).
  • Setting up BuildKit with OCI worker: BuildKit manages containers and images, etc. containerd isn't needed. This worker relies on runc for container execution. (I think this is what we need in the first implementation stage as it requires fewer dependencies.)

Note: The OCI worker cannot access base images (FROM images in Dockerfiles) managed by containerd.

The second part of this ticket covers the documentation of setting up BuildKit for dib.

@fahedouch fahedouch added the enhancement New feature or request label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant