Welcome to the 0.12.0-rc1 release of buildx!
This is a pre-release of buildx
Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.
Notable Changes
- OCI Annotations can be added to build results with a new
--annotation
flag for the build command andannotations
key in the Bake file. Annotations added to OCI manifests, indexes, and descriptors. #2020 #2098 - New debugging features have been added with a new
debug
command and interactive debugging console. This feature currently requires settingBUILDX_EXPERIMENTAL=1
#2006 #1896 #1970 #1914 #2026 #2086 docs - Special
host-gateway
IP mapping can now be used with the--add-host
flag during build #1894 #2083 - The status of uploading build results to Docker is now shown interactively on progressbar #1994
- Error handling has been improved when bootstrapping multi-node build clusters #1869
- Compose support has been updated to 1.20, enabling "include" functionality when using the Bake command #1971 #2065 #2094
- Imagetools create command now allows adding annotation when creating new images in the registry #1965
- OpenTelemetry build trace delegation from buildx is now possible with Docker and Remote driver #2034
- Bake command now shows all files where the build definition was loaded from on the progressbar #2076
- Bake files now allow the same attributes to be defined in multiple definition files. #1062
- Using the Bake command with a remote definition now allows this definition to use local Dockerfiles #2015
- Improve performance of detecting when BuildKit instance has completed booting #1934
- Container driver now accepts many new driver options for defining the resource limits for BuildKit container #2048
- Inspection commands now show BuildKit worker IDs #2063
- Inspection commands formatting has been improved #2068
- Error messages about driver capabilities have been improved #1998
- Allow enabling debug logs with environment variables when running in standalone mode #1821
- When using Docker driver the default image resolve mode has been updated to prefer local Docker images for backward compatibility #1886
- Kubernetes driver now allows setting custom annotations and labels to the BuildKit deployments and pods #1938
- Kubernetes driver now allows setting authentication token with endpoint configuration #1891
- Fixes for formatting validation of certain build flags #2040
- Fixes to avoid locking certain commands unnecessarily while booting builder nodes. #2066
- Fix cases where multiple builds try to bootstrap the same builder instance in parallel #2000
- Fix cases where errors on uploading build results to docker could be dropped in some cases #1927
- Fix detecting capabilities for missing attestation support based on build output #1988
- Fix the build for loading in Bake remote definition to not show up in build history records #1961 #1954
- Fix errors when building Compose files using the that define profiles with Bake #1903
- Fix possible time correction errors on progressbar #1968
- Fix passing custom Cgroup parent to builds that used the new controller interface #1913
Contributors
- CrazyMax
- Justin Chadwell
- Tõnis Tiigi
- Sebastiaan van Stijn
- Kohei Tokunaga
- David Karlsson
- Guillaume Lours
- Jonathan A. Sternberg
- Kenyon Ralph
- Qasim Sarfraz
- Silvin Lubecki
- Akihiro Suda
- Aleksa Sarai
- Dmitry Makovey
- Jhan S. Álvarez
- Jonathan Piché
- Kenyon Ralph
- Kijima Daigo
- Silvin Lubecki
- Zero
- guoguangwu
Dependency Changes
- github.com/AdaLogics/go-fuzz-headers 43070de90fa1 -> ced1acdcaa24
- github.com/Microsoft/hcsshim v0.11.1 new
- github.com/Shopify/logrus-bugsnag 577dee27f20d new
- github.com/apparentlymart/go-textseg/v15 v15.0.0 new
- github.com/compose-spec/compose-go v1.14.0 -> v1.20.0
- github.com/containerd/containerd v1.7.2 -> v1.7.7
- github.com/containerd/continuity v0.4.1 -> v0.4.2
- github.com/containerd/log v0.1.0 new
- github.com/creack/pty v1.1.18 new
- github.com/distribution/reference v0.5.0 new
- github.com/docker/cli v24.0.2 -> v24.0.5
- github.com/docker/docker 36e9e796c6fc -> v24.0.5
- github.com/hashicorp/go-cleanhttp v0.5.2 new
- github.com/hashicorp/go-cty-funcs 2721b1e36840 -> a090f58aa992
- github.com/hashicorp/hcl/v2 v2.8.2 -> v2.19.1
- github.com/imdario/mergo v0.3.15 -> v0.3.16
- github.com/moby/buildkit faa0cc7da353 -> d5c1d785b042
- github.com/moby/patternmatcher v0.5.0 -> v0.6.0
- github.com/opencontainers/image-spec v1.1.0-rc3 -> v1.1.0-rc5
- github.com/opencontainers/runc v1.1.7 -> v1.1.9
- github.com/sirupsen/logrus v1.9.0 -> v1.9.3
- github.com/theupdateframework/notary v0.6.1 -> v0.7.0
- github.com/zclconf/go-cty v1.10.0 -> v1.14.1
- golang.org/x/exp 613f0c0eb8a1 new
- k8s.io/api v0.26.2 -> v0.26.7
- k8s.io/apimachinery v0.26.2 -> v0.26.7
- k8s.io/apiserver v0.26.2 -> v0.26.7
- k8s.io/client-go v0.26.2 -> v0.26.7
Previous release can be found at v0.11.2