Overview of BuildKit
masterBuildKit is a toolkit designed to convert source code into build artifacts efficiently, expressively, and repeatably. It is a standalone, full-featured build engine that can be used directly or via integrations.
Key Features:
- Automatic garbage collection
- Extendable frontend formats
- Concurrent dependency resolution
- Efficient instruction caching
- Build cache import/export
- Nested build job invocations
- Distributable workers
- Multiple output formats
- Pluggable architecture
- Execution without root privileges
Note on Docker Usage:
If you only need BuildKit-specific Dockerfile features (like RUN --mount=type=...), you likely do not need to use BuildKit standalone. Since Docker Engine 23.0, docker build uses Buildx and BuildKit by default.