Skip to content

Releases: docker/buildx

v0.8.0-rc1

26 Feb 00:26
f62c023
Compare
Choose a tag to compare
v0.8.0-rc1 Pre-release
Pre-release

Welcome to the 0.8.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

  • Build command now accepts --build-context flag to define additional named build contextes for your builds. For example, these can be used expose additional local directories to your build or pin an image to a specific digest. This feature requires using Dockerfile 1.4+ frontend. #904 Documentation
  • Bake definitions now support defining dependencies between targets and using the result of one target in another build. This feature requires using Dockerfile 1.4+ frontend. #928 #965 #963 #962 Documentation
  • imagetools inspect now accepts --format flag allowing access to config and buildinfo for specific images. #854
  • New flag --no-cache-filter allows configuring build so it ignores cache only for specified Dockerfile stages #860
  • --metadata-file output now supports embedded structure types. These are used for example for returning build info and image descriptors in BuildKit v0.10. #946
  • Builds can now show a summary of warnings set by the building frontend #892
  • buildx rm now accepts new flag --all-inactive for removing all builders that are not currently running #885
  • Proxy config is now read from Docker configuration file and sent with build requests for backward compatibility #959
  • Fix environment file handling in Compose files #905
  • New build-arg BUILDKIT_INLINE_BUILDINFO_ATTRS allows opting-in to embedding building attributes to resulting image #908
  • Support host networking in Compose #863 #880
  • Bake files can now be read from stdin with -f - #864
  • New flag --keep-buildkitd allows keeping BuildKit daemon running when removing a builder #852
  • Show last access time in du command #867
  • Target names in Bake are now restricted to not use special characters #929
  • Fix some nested inheritance cases in Bake #914
  • Fix printing default group on Bake files #884
  • Fix UsernsMode when using rootless container #887

Contributors

  • Tõnis Tiigi
  • CrazyMax
  • Zachary Povey
  • Akihiro Suda
  • Edgar Lee
  • Eliott Wiener
  • Mayeul Blanzat
  • Sebastiaan van Stijn
  • Tyler Smith
  • Wojciech M

Dependency Changes

  • github.com/Microsoft/go-winio v0.5.0 -> v0.5.1
  • github.com/apparentlymart/go-textseg/v13 v13.0.0 new
  • github.com/compose-spec/compose-go v1.0.5 -> v1.0.8
  • github.com/compose-spec/godotenv v1.1.0 -> v1.1.1
  • github.com/containerd/containerd v1.5.5 -> v1.6.0
  • github.com/containerd/continuity v0.1.0 -> v0.2.2
  • github.com/containerd/ttrpc v1.1.0 new
  • github.com/docker/cli-docs-tool v0.2.1 -> v0.4.0
  • github.com/docker/distribution v2.7.1 -> v2.8.0
  • github.com/docker/docker ba2adeebdb8d -> 40bb9831756f
  • github.com/go-logr/logr v0.4.0 -> v1.2.2
  • github.com/go-logr/stdr v1.2.2 new
  • github.com/gogo/googleapis v1.4.0 -> v1.4.1
  • github.com/google/go-cmp v0.5.6 -> v0.5.7
  • github.com/google/gofuzz v1.1.0 -> v1.2.0
  • github.com/google/uuid v1.2.0 -> v1.3.0
  • github.com/grpc-ecosystem/go-grpc-middleware v1.2.0 -> v1.3.0
  • github.com/json-iterator/go v1.1.11 -> v1.1.12
  • github.com/klauspost/compress v1.13.5 -> v1.14.3
  • github.com/moby/buildkit 8778943ac3da -> 0692ad797425
  • github.com/moby/sys/signal v0.6.0 new
  • github.com/modern-go/reflect2 v1.0.1 -> v1.0.2
  • github.com/opencontainers/image-spec 5ad6f50d6283 -> 693428a734f5
  • github.com/opencontainers/runc v1.0.1 -> v1.1.0
  • github.com/prometheus/client_golang v1.11.0 -> v1.12.1
  • github.com/prometheus/common v0.26.0 -> v0.32.1
  • github.com/prometheus/procfs v0.6.0 -> v0.7.3
  • github.com/tonistiigi/fsutil 4442383b5028 -> b19f7f9cb274
  • github.com/zclconf/go-cty v1.7.1 -> v1.10.0
  • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc d010b05b4939 -> v0.29.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace d010b05b4939 -> v0.29.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp d010b05b4939 -> v0.29.0
  • go.opentelemetry.io/otel v1.0.0-RC1 -> v1.4.1
  • go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1 new
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.0.0-RC1 -> v1.4.1
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.0.0-RC1 -> v1.4.1
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.0.0-RC1 -> v1.4.1
  • go.opentelemetry.io/otel/internal/metric v0.21.0 -> v0.27.0
  • go.opentelemetry.io/otel/metric v0.21.0 -> v0.27.0
  • go.opentelemetry.io/otel/sdk v1.0.0-RC1 -> v1.4.1
  • go.opentelemetry.io/otel/trace v1.0.0-RC1 -> v1.4.1
  • go.opentelemetry.io/proto/otlp v0.9.0 -> v0.12.0
  • golang.org/x/crypto 0c34fe9e7dc2 -> 5770296d904e
  • golang.org/x/net 37e1c6afe023 -> fe4d6282115f
  • golang.org/x/oauth2 2e8d93401602 -> 2bc19b11175f
  • golang.org/x/sys 0f9fa26af87c -> da31bd327af9
  • golang.org/x/term 6a3ed077a48d -> 6886f2dfbf5b
  • google.golang.org/genproto f16073e35f0c -> 3a66f561d7aa
  • google.golang.org/grpc v1.40.0 -> v1.44.0
  • k8s.io/api v0.22.1 -> v0.22.4
  • k8s.io/apimachinery v0.22.1 -> v0.22.4
  • k8s.io/client-go v0.22.1 -> v0.22.4
  • k8s.io/utils 4b05e18ac7d9 -> cb0fa318a74b

v0.7.1

25 Nov 21:28
0584689
Compare
Choose a tag to compare

Notable changes

  • Fix issue with matching exclude rules in .dockerignore #858
  • Fix bake --print JSON output for current group #857

v0.7.0

10 Nov 20:39
f002608
Compare
Choose a tag to compare

Welcome to the 0.7.0 release of buildx!

Notable Changes

  • TLS certificates from BuildKit configuration are now transferred to build container in container and kubernetes drivers #787
  • Allow using custom registry configuration for multi-node pushes from the client #825
  • Allow using custom registry configuration for buildx imagetools command #825
  • Allow booting builder after creating with buildx create --bootstrap #692
  • Allow registry:insecure output option for multi-node pushes #825
  • Fix using --iidfile together with a multi-node push #826
  • Builds support --ulimit flag for feature parity (requires unreleased BuildKit image) #800
  • Builds support --shm-size flag for feature parity (requires unreleased BuildKit image) #790
  • Builds support --quiet for feature parity #740
  • Builds support --cgroup-parent flag for feature parity (requires unreleased BuildKit image) #814
  • Using --push in bake does not clear other image export options in the file #773
  • Fix Git URL detection for buildx bake when https protocol was used #822
  • BuildKit config and TLS files are now kept in Buildx state directory and reused if BuildKit instance needs to be recreated #824
  • Ensure different projects use separate destination directories for incremental context transfer for better performance #817
  • Fix pushing image with multiple names on multi-node builds #815
  • Avoid showing --builder flags for commands that don't use it #818
  • Unsupported build flags now properly show a warning #810
  • Build containers are now placed on separate cgroup by default #782
  • Bake supports builtin variable BAKE_LOCAL_PLATFORM #748
  • Bake supports x-bake extension field in Compose files #721
  • Bake now prints the default group with --print #720
  • Kubernetes driver now supports colon-separated KUBECONFIG #761
  • Kubernetes driver now supports setting Buildkit config file with --config #682
  • Kubernetes driver now supports installing QEMU emulators with driver-opt #682
  • Docker driver now dials build session over HTTP for better performance #804
  • Fix reporting error details in some OpenTelemetry traces #812

Contributors

  • CrazyMax
  • Tõnis Tiigi
  • Andy Caldwell
  • Wang Jinglei
  • Akihiro Suda
  • David Scott
  • Sebastiaan van Stijn
  • Brian Goff
  • Devin Bayer

v0.7.0-rc1

04 Nov 21:54
5c4e3fc
Compare
Choose a tag to compare
v0.7.0-rc1 Pre-release
Pre-release

Welcome to the 0.7.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

  • TLS certificates from BuildKit configuration are now transferred to build container in container and kubernetes drivers #787
  • Allow using custom registry configuration for multi-node pushes from the client #825
  • Allow using custom registry configuration for buildx imagetools command #825
  • Allow booting builder after creating with buildx create --bootstrap #692
  • Allow registry:insecure output option for multi-node pushes #825
  • Fix using --iidfile together with a multi-node push #826
  • Builds support --ulimit flag for feature parity (requires unreleased BuildKit image) #800
  • Builds support --shm-size flag for feature parity (requires unreleased BuildKit image) #790
  • Builds support --quiet for feature parity #740
  • Builds support --cgroup-parent flag for feature parity (requires unreleased BuildKit image) #814
  • Using --push in bake does not clear other image export options in the file #773
  • Fix Git URL detection for buildx bake when https protocol was used #822
  • BuildKit config and TLS files are now kept in Buildx state directory and reused if BuildKit instance needs to be recreated #824
  • Ensure different projects use separate destination directories for incremental context transfer for better performance #817
  • Fix pushing image with multiple names on multi-node builds #815
  • Avoid showing --builder flags for commands that don't use it #818
  • Unsupported build flags now properly show a warning #810
  • Build containers are now placed on separate cgroup by default #782
  • Bake supports builtin variable BAKE_LOCAL_PLATFORM #748
  • Bake supports x-bake extension field in Compose files #721
  • Bake now prints the default group with --print #720
  • Kubernetes driver now supports colon-separated KUBECONFIG #761
  • Kubernetes driver now supports setting Buildkit config file with --config #682
  • Kubernetes driver now supports installing QEMU emulators with driver-opt #682
  • Docker driver now dials build session over HTTP for better performance #804
  • Fix reporting error details in some OpenTelemetry traces #812

Contributors

  • CrazyMax
  • Tõnis Tiigi
  • Andy Caldwell
  • Wang Jinglei
  • Akihiro Suda
  • David Scott
  • Sebastiaan van Stijn
  • Brian Goff
  • Devin Bayer

v0.6.3

30 Aug 18:48
266c0ea
Compare
Choose a tag to compare

Notable changes

  • Fix buildkit state volume location for Windows clients #751

v0.6.2

20 Aug 22:28
de7dfb9
Compare
Choose a tag to compare

Notable changes

  • Fix connection error showing up in some SSH configurations #741

v0.6.1

30 Jul 18:04
260d07a
Compare
Choose a tag to compare

Notable changes

  • Set ConfigFile to parse compose files with bake (#704)
  • Duplicated progress env var (#693)
  • Should ignore nil client (#686)

Contributors

  • CrazyMax
  • Devin Bayer
  • Morlay

v0.6.0

16 Jul 21:44
d9ee3b1
Compare
Choose a tag to compare

Notable changes

  • Support for OpenTelemetry traces and forwarding Buildx client traces to BuildKit (#635)
  • Experimental Github Actions remote cache backend with --cache-to type=gha and --cache-from type=gha (#535)
  • New --metadata-file flag has been added to build and bake command that allows saving build result metadata in JSON format (#605)
  • Docker container driver new keeps BuildKit state in volume. Enabling updates with keeping state. (#672)
  • Compose parser is now based on new compose-go parser fixing support for some newer syntax (#669)
  • SSH socket is now automatically forwarded when building an ssh-based git URL (#581)
  • This is the first release supporting Windows ARM64 (#654)
  • This is the first release supporting Linux Risc-V (#652)
  • Bake now supports building from remote definition with local files or another remote source as context (#671)
  • Bake HCL parser has been rewritten (#645)
  • Bake now allows variables to reference each other and using user functions in variables and vice-versa (#575) (#539) (#532)
  • Bake allows defining attributes in the global scope (#541)
  • Bake allows variables across multiple files (#538)
  • Extend HCL support with more functions (#491) (#503)
  • New quiet mode has been added to progress printer (#558)
  • Allow secrets from environment variables (#488)
  • imagetools create command now correctly merges JSON descriptor with old one, eg. allowing defining Windows os.version and annotations (#592)
  • Builds with an unsupported multi-platform and load configuration now fail fast (#582)
  • Fix building with --network=none not requiring extra security entitlements (#531)
  • Allow to set default progress through BUILDX_PROGRESS_DEFAULT env var (#504)
  • Kubernetes driver now supports defining resources/limits (#618)
  • Store Kubernetes config file to make buildx builder switchable (#497)
  • Kubernetes now lists all pods as nodes on inspection (#477)
  • Buildx binaries can now be accessed through buildx-bin Docker image (#656)
  • Default Rootless image has been set to moby/buildkit:buildx-stable-1-rootless (#480)

Contributors

  • Tõnis Tiigi
  • Akihiro Suda
  • CrazyMax
  • Sebastiaan van Stijn
  • Tibor Vass
  • Alex Couture-Beil
  • Andy MacKinlay
  • Djordje Lukic
  • Felipe Santos
  • Hollow Man
  • Michal Augustyn
  • Shima Tatsuya
  • Ulysses Souza
  • Wang Jinglei
  • Faustin Lammler

v0.6.0-rc1

15 Jul 05:57
65a6955
Compare
Choose a tag to compare
v0.6.0-rc1 Pre-release
Pre-release

This is a pre-release of buildx

Notable changes

  • Support for OpenTelemetry traces and forwarding Buildx client traces to BuildKit (#635)
  • Experimental Github Actions remote cache backend with --cache-to type=gha and --cache-from type=gha (#535)
  • New --metadata-file flag has been added to build and bake command that allows saving build result metadata in JSON format (#605)
  • Docker container driver new keeps BuildKit state in volume. Enabling updates with keeping state. (#672)
  • Compose parser is now based on new compose-go parser (#669)
  • SSH socket is now automatically forwarded when building an ssh-based git URL (#581)
  • This is the first release supporting Windows ARM64 (#654)
  • This is the first release supporting Linux Risc-V (#652)
  • Bake now supports building from remote definition with local files or another remote source as context (#671)
  • Bake HCL parser has been rewritten (#645)
  • Bake now allows variables to reference each other and using user functions in variables and vice-versa (#575) (#539) (#532)
  • Bake allows defining attributes in the global scope (#541)
  • Bake allows variables across multiple files (#538)
  • Extend HCL support with more functions (#491) (#503)
  • New quiet mode has been added to progress printer (#558)
  • Allow secrets from environment variables (#488)
  • imagetools create command now correctly merges JSON descriptor with old one, eg. allowing defining Windows os.version and annotations (#592)
  • Builds with an unsupported multi-platform and load configuration now fail fast (#582)
  • Fix building with --network=none not requiring extra security entitlements (#531)
  • Allow to set default progress through BUILDX_PROGRESS_DEFAULT env var (#504)
  • Kubernetes driver now supports defining resources/limits (#618)
  • Store Kubernetes config file to make buildx builder switchable (#497)
  • Kubernetes now lists all pods as nodes on inspection (#477)
  • Buildx binaries can now be accessed through buildx-bin Docker image (#656)
  • Default Rootless image has been set to moby/buildkit:buildx-stable-1-rootless (#480)

Please try out the release binaries and report any issues at
https://github.com/docker/buildx/issues.

Contributors

  • Tõnis Tiigi
  • Akihiro Suda
  • CrazyMax
  • Sebastiaan van Stijn
  • Tibor Vass
  • Alex Couture-Beil
  • Andy MacKinlay
  • Djordje Lukic
  • Felipe Santos
  • Hollow Man
  • Michal Augustyn
  • Shima Tatsuya
  • Ulysses Souza
  • Wang Jinglei
  • Faustin Lammler

v0.5.1

15 Dec 08:01
11057da
Compare
Choose a tag to compare

Notable changes

  • Fix regression on setting --platform on buildx create outside kubernetes driver #475