https://github.com/loong64/buildkit
concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
https://github.com/loong64/buildkit
Last synced: 7 months ago
JSON representation
concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
- Host: GitHub
- URL: https://github.com/loong64/buildkit
- Owner: loong64
- License: apache-2.0
- Created: 2025-01-10T02:52:16.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-02-05T00:56:42.000Z (8 months ago)
- Last Synced: 2025-02-05T01:32:40.697Z (8 months ago)
- Language: Dockerfile
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BuildKit
[](https://github.com/moby/buildkit/releases/latest)
[](https://pkg.go.dev/github.com/moby/buildkit/client/llb)
[](https://github.com/moby/buildkit/actions?query=workflow%3Abuildkit)
[](https://github.com/moby/buildkit/actions?query=workflow%3Afrontend)
[](https://goreportcard.com/report/github.com/moby/buildkit)
[](https://codecov.io/gh/moby/buildkit)BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner.
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 privilegesRead the proposal from https://github.com/moby/moby/issues/32925
Introductory blog post https://blog.mobyproject.org/introducing-buildkit-17e056cc5317
Join `#buildkit` channel on [Docker Community Slack](https://dockr.ly/comm-slack)
> [!NOTE]
> If you are visiting this repo for the usage of BuildKit-only Dockerfile features
> like `RUN --mount=type=(bind|cache|tmpfs|secret|ssh)`, please refer to the
> [Dockerfile reference](https://docs.docker.com/engine/reference/builder/).> [!NOTE]
> `docker build` [uses Buildx and BuildKit by default](https://docs.docker.com/build/architecture/) since Docker Engine 23.0.
> You don't need to read this document unless you want to use the full-featured
> standalone version of BuildKit.## Quick start
```sh
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx create --use --name mybuild --driver-opt image=ghcr.io/loong64/buildkit:buildx-stable-1
docker buildx inspect --bootstrap --builder mybuild
```