github docker/buildx v0.11.0-rc1

latest releases: v0.18.0, v0.18.0-rc3, v0.18.0-rc2...
pre-release18 months ago

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

  • Commands now display the current builder name in the build progress output #1177

  • Bake now supports matrix builds. The new matrix field on target blocks allows easily creating multiple similar sets of targets #1690 docs

  • The build command now saves local paths from previous builds to the builder local state #1735

  • New experimental --detach flag for the build command to run the build in a detached server, allowing attaching to the build later using debug-shell (requires BUILDX_EXPERIMENTAL=1) #1296 #1620 #1614 #1737 #1755 docs

  • New monitor mode commands exec and attach to allow spawning additional processes in a debugging session (requires BUILDX_EXPERIMENTAL=1) #1626 docs

  • New experimental debug-shell command to directly start the build debugging monitor without starting a build, allowing connecting to previously --detached builds (requires BUILDX_EXPERIMENTAL=1) #1640 docs

  • New experimental --invoke=on-error option for the --invoke command to start the build debugging monitor at the point at which a build fails (requires BUILDX_EXPERIMENTAL=1) #1640 docs

  • Bake now supports detecting compose.yml/compose.yaml files in addition to docker-compose.yml/docker-compose.yaml #1752

  • Bake now supports new compose build keys dockerfile_inline and additional_contexts #1784

  • Bake now supports replace HCL function #1720

  • Initial support for CLI command completion, including: builder names, folder names for build commands and bake targets #1727

  • Builds support the new EXPERIMENTAL_BUILDKIT_SOURCE_POLICY environment variable to set the path to a source policy docs #1628

  • BuildKit versions are correctly displayed in buildx ls and buildx inspect for builders using the Docker driver #1552

  • Builders using the remote driver allow using TLS without proving its own key/cert (if BuildKit remote is configured to support it) #1693

  • Builders using the kubernetes driver allow automatically generating the node name if not provided #1673

  • Builders using the kubernetes driver support a new serviceaccount option, which will set the created pod's serviceAccountName #1597

  • Builders using the kubernetes driver support the proxy-url kubeconfig option docs #1780

  • Fix possible panic when no builders are available #1732

  • Fix docker-container driver hang on container panic #1772

  • Fix bake failure when remote bake file is accessed using SSH #1711 #1734

  • Fix bake failure when remote bake context is incorrectly resolved #1783

  • Fix opaque error messages on invalid edge-case git urls #1710 #1733

  • Fix race in printer so that logrus warning messages appear at the end of the build deterministically #1794

  • Fix connection leak for feature check on default docker driver #1776

Contributors

Dependency Changes

  • cloud.google.com/go/compute v1.12.1 -> v1.18.0
  • cloud.google.com/go/compute/metadata v0.2.1 -> v0.2.3
  • github.com/AdaLogics/go-fuzz-headers 43070de90fa1 new
  • github.com/Azure/go-autorest/autorest v0.11.24 -> v0.11.27
  • github.com/Azure/go-autorest/autorest/adal v0.9.18 -> v0.9.20
  • github.com/Masterminds/semver/v3 v3.2.0 new
  • github.com/Microsoft/go-winio v0.5.2 -> v0.6.0
  • github.com/cenkalti/backoff/v4 v4.1.2 -> v4.2.0
  • github.com/cespare/xxhash/v2 v2.1.2 -> v2.2.0
  • github.com/compose-spec/compose-go v1.6.0 -> v1.13.4
  • github.com/containerd/containerd 1709cfe273d9 -> v1.7.0
  • github.com/containerd/ttrpc v1.1.0 -> v1.2.1
  • github.com/containerd/typeurl/v2 v2.1.0 new
  • github.com/cyphar/filepath-securejoin v0.2.3 new
  • github.com/distribution/distribution/v3 4bf3547399eb -> 36d8c594d7aa
  • github.com/docker/cli v23.0.0-rc.1 -> v23.0.6
  • github.com/docker/distribution v2.8.1 -> v2.8.2
  • github.com/docker/docker v23.0.0-rc.1 -> v23.0.6
  • github.com/emicklei/go-restful/v3 v3.10.1 new
  • github.com/felixge/httpsnoop v1.0.2 -> v1.0.3
  • github.com/go-openapi/jsonpointer v0.19.5 new
  • github.com/go-openapi/jsonreference v0.20.0 new
  • github.com/go-openapi/swag v0.19.14 new
  • github.com/google/certificate-transparency-go v1.0.21 -> v1.1.4
  • github.com/google/gnostic v0.5.7-v3refs new
  • github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 new
  • github.com/imdario/mergo v0.3.13 -> v0.3.15
  • github.com/josharian/intern v1.0.0 new
  • github.com/klauspost/compress v1.15.12 -> v1.16.0
  • github.com/mailru/easyjson v0.7.6 new
  • github.com/moby/buildkit v0.11.2 -> 333ee9158128
  • github.com/munnerz/goautoneg a7dc8b61c822 new
  • github.com/opencontainers/image-spec 02efb9a75ee1 -> 3a7f492d3f1b
  • github.com/opencontainers/runc v1.1.3 -> v1.1.5
  • github.com/sergi/go-diff v1.2.0 new
  • github.com/stretchr/testify v1.8.1 -> v1.8.2
  • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.29.0 -> v0.40.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.29.0 -> v0.40.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.29.0 -> v0.40.0
  • go.opentelemetry.io/otel v1.4.1 -> v1.14.0
  • go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1 -> v1.14.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.4.1 -> v1.14.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.4.1 -> v1.14.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.4.1 -> v1.14.0
  • go.opentelemetry.io/otel/metric v0.27.0 -> v0.37.0
  • go.opentelemetry.io/otel/sdk v1.4.1 -> v1.14.0
  • go.opentelemetry.io/otel/trace v1.4.1 -> v1.14.0
  • go.opentelemetry.io/proto/otlp v0.12.0 -> v0.19.0
  • golang.org/x/mod v0.7.0 new
  • golang.org/x/net v0.4.0 -> v0.7.0
  • golang.org/x/oauth2 6fdb5e3db783 -> v0.4.0
  • golang.org/x/sys v0.3.0 -> v0.6.0
  • golang.org/x/term v0.3.0 -> v0.5.0
  • golang.org/x/text v0.5.0 -> v0.7.0
  • golang.org/x/tools v0.5.0 new
  • google.golang.org/genproto 1bc688fe9f3e -> 7f2fa6fef1f4
  • google.golang.org/grpc v1.50.1 -> v1.53.0
  • k8s.io/api v0.22.4 -> v0.25.4
  • k8s.io/apimachinery v0.22.4 -> v0.25.4
  • k8s.io/apiserver v0.25.4 new
  • k8s.io/client-go v0.22.4 -> v0.25.4
  • k8s.io/klog/v2 v2.30.0 -> v2.90.1
  • k8s.io/kube-openapi 172d655c2280 new
  • k8s.io/utils cb0fa318a74b -> a5ecb0141aa5
  • sigs.k8s.io/json f223a00ba0e2 new
  • sigs.k8s.io/structured-merge-diff/v4 v4.1.2 -> v4.2.3
  • sigs.k8s.io/yaml v1.2.0 -> v1.3.0

Previous release can be found at v0.10.4

Don't miss a new buildx release

NewReleases is sending notifications on new releases.