Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Mar 22:57
· 2000 commits to master since this release
c8f7c1e

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