Skip to content

Releases: docker/buildx

v0.8.2

04 Apr 01:41
6224def

Choose a tag to compare

Notable changes

  • Update Compose spec used by buildx bake to v1.2.1 to fix parsing ports definition #1033
  • Fix possible crash on handling progress streams from BuildKit v0.10 #1042
  • Fix parsing groups in buildx bake when already loaded by a parent group #1021

v0.8.1

21 Mar 02:57
5fac64c

Choose a tag to compare

Notable changes

  • Fix possible panic on handling build context scanning errors #1005
  • Allow . on compose target names in buildx bake for backward compatibility #1018

v0.8.0

09 Mar 22:57
c8f7c1e

Choose a tag to compare

Welcome to the 0.8.0 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 #981 Documentation

  • imagetools inspect now accepts --format flag allowing access to config and buildinfo for specific images. #854 #972

  • 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

  • --iidfile now always writes the image config digest independently from the driver being used. Use --metadata-file to access image manifest digest. #980

  • Show last access time in du command #867

  • Target names in Bake are now restricted to not use special characters #929

  • Image manifest digest can be read from metadata when pushed with Docker driver #989

  • Fix possible double output logs when multiple bake targets run same build steps #977

  • Fix possible errors on multi-node builder building multiple targets with mixed platform #985

  • 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.1
  • github.com/containerd/continuity v0.1.0 -> v0.2.2
  • github.com/containerd/ttrpc v1.1.0 new
  • github.com/docker/cli f782d1355eff -> 8667ccd1124c
  • 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.15.0
  • github.com/moby/buildkit 8778943ac3da -> fdecd0ae108b
  • 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

Previous release can be found at v0.7.0

v0.8.0-rc1

26 Feb 00:26
f62c023

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

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

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

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

Choose a tag to compare

Notable changes

  • Fix buildkit state volume location for Windows clients #751

v0.6.2

20 Aug 22:28
de7dfb9

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

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