Skip to content

v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Aug 22:21
· 1732 commits to master since this release
611329f

Welcome to the 0.9.0 release of buildx!

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

Notable changes

  • Support for new driver "remote" that can be used to connect to any already running BuildKit instance #1078 #1093 #1094 #1103 #1134 #1204 docs
  • Dockerfile can now be loaded from standard input even when build context is coming from external Git or HTTP URL #994
  • Build commands now support new build context type oci-layout:// for loading build context from local OCI layout directories. Note that this feature depends on an unreleased BuildKit feature and builder instance from moby/buildkit:master needs to be used until BuildKit v0.11 is released. #1173 docs
  • New --print flag can be used to run helper functions supported by the BuildKit frontend performing the build and print their results. In Dockerfile this feature can be used to show the build arguments and secrets that the current build supports with --print=outline and list all available Dockerfile stages with --print=targets. This feature is experimental for gathering early feedback and requires enabling BUILDX_EXPERIMENTAL=1 environment variable. We plan to update/extend this feature in the future without keeping backward compatibility. #1100 #1272
  • New --invoke flag can be used to launch interactive containers from build results for an iterative debugging cycle. These containers can then be reloaded with code changes or restored to intial state from special monitor mode. This feature is experimental for gathering early feedback and requires enabling BUILDX_EXPERIMENTAL=1 environment variable. We plan to update/extend this feature in the future without keeping backwards compatibility #1168 #1257 #1259 docs
  • Buildx now understands environment variable BUILDKIT_COLORS and NO_COLOR to customize/disable the colors of interactive build progressbar #1230 #1226 docs
  • buildx create command now does additional validation of builder parameters to avoid creating a builder instance with invalid configuration #1206
  • buildx imagetools create command can now create new multi-platform images even if the source subimages are located on different repositories or registries #1137
  • You can now set the default builder config that is used when creating builder instances without passing custom --config value #1111
  • buildx ls command now shows the current BuildKit version of each builder instance #998
  • buildx ls command output has been updated with better access to errors from different builders #1109
  • Docker driver can now detect if dockerd instance supports initially disabled Buildkit features like multi-platform images #1260 #1262
  • Bake command now loads .env file automatically when building Compose files for compatibility #1261
  • Bake now supports Compose files with cache_to definition #1155
  • Bake now supports new builtin function timestamp() to access current time #1214
  • Bake now supports Compose build secrets definition #1069
  • Additional build context configuration is now supported in Compose files via x-bake #1256
  • Compose files using targets with . in the name are now converter to use _ so the selector keys can still be used in such targets #1011
  • Compose Specification has been updated to 1.4.0 #1246 #1251
  • Additional validation has been added for checking valid driver configurations #1188 #1273
  • Remove command now displays the removed builder and forbids removing context builders #1128
  • Inspecting builder now shows current driver options configuration #1003 #1066
  • Fix panic on handling manifests with nil platform #1144
  • Fix using duration filter with prune command #1252
  • Fix merging multiple JSON files on Bake definition #1025
  • Fix issues with implicit builder created from Docker context had invalid configuration or dropped connection #1129
  • Fix conditions for showing no-output warning when using named contexts #968
  • Fix deduplicating builders when builder instance and docker context have the same name #1131
  • Fix printing unnecessary SSH warning logs #1085
  • Fix possible panic when using an empty variable block with Bake JSON definition #1080
  • Fix imagetools commands not handling --builder flag correctly #1067
  • Fix using custom image together with rootless option #1063
  • Enable Azure authentication when using kubernetes driver #974
  • Add tolerations handling for kubernetes driver #1045 #1053
  • Replace deprecated seccomp annotations with securityContext in kubernetes driver #1052

Contributors

  • CrazyMax
  • Tõnis Tiigi
  • Justin Chadwell
  • Sebastiaan van Stijn
  • Batuhan Apaydın
  • Akihiro Suda
  • Kohei Tokunaga
  • Avi Deitcher
  • Cory Snider
  • Doug Borg
  • Nicolas De Loof
  • Phong Tran
  • Sean P. Kane
  • Zsolt Szeberenyi

Dependency Changes

  • github.com/Azure/go-autorest v14.2.0 new
  • github.com/Azure/go-autorest/autorest v0.11.24 new
  • github.com/Azure/go-autorest/autorest/adal v0.9.18 new
  • github.com/Azure/go-autorest/autorest/date v0.3.0 new
  • github.com/Azure/go-autorest/logger v0.2.1 new
  • github.com/Azure/go-autorest/tracing v0.6.0 new
  • github.com/Microsoft/go-winio v0.5.1 -> v0.5.2
  • github.com/compose-spec/compose-go v1.2.1 -> v1.4.0
  • github.com/containerd/containerd v1.6.1 -> v1.6.6
  • github.com/containerd/continuity v0.2.2 -> v0.3.0
  • github.com/distribution/distribution/v3 a01c71e2477e -> 4bf3547399eb
  • github.com/docker/cli 8667ccd1124c -> 418ca3b4d46f
  • github.com/docker/cli-docs-tool v0.4.0 -> v0.5.0
  • github.com/docker/distribution v2.8.0 -> v2.8.1
  • github.com/docker/docker 40bb9831756f -> a60b458179aa
  • github.com/go-sql-driver/mysql v1.6.0 new
  • github.com/golang-jwt/jwt/v4 v4.2.0 new
  • github.com/google/go-cmp v0.5.7 -> v0.5.8
  • github.com/imdario/mergo v0.3.12 -> v0.3.13
  • github.com/klauspost/compress v1.15.0 -> v1.15.7
  • github.com/kr/pretty v0.3.0 new
  • github.com/miekg/pkcs11 v1.0.3 -> v1.1.1
  • github.com/mitchellh/mapstructure v1.4.3 -> v1.5.0
  • github.com/moby/buildkit 10e6f94bf90d -> 55ba9d14360a
  • github.com/opencontainers/image-spec 693428a734f5 -> c5a74bcca799
  • github.com/opencontainers/runc v1.1.0 -> v1.1.3
  • github.com/prometheus/client_golang v1.12.1 -> v1.12.2
  • github.com/rogpeppe/go-internal v1.8.1 new
  • github.com/sirupsen/logrus v1.8.1 -> v1.9.0
  • github.com/spf13/cobra v1.2.1 -> v1.5.0
  • github.com/stretchr/testify v1.7.0 -> v1.8.0
  • github.com/tonistiigi/fsutil 9ed612626da3 -> 0dbf3a8a7d58
  • golang.org/x/crypto 5770296d904e -> 3147a52a75dd
  • golang.org/x/net fe4d6282115f -> cd36cc0744dd
  • golang.org/x/sync 036812b2e83c -> 886fb9371eb4
  • golang.org/x/sys da31bd327af9 -> c0bba94af5f8
  • golang.org/x/term 6886f2dfbf5b -> 03fcf44c2211
  • golang.org/x/time 1f47c861a9ac -> 90d013bbcef8
  • google.golang.org/genproto 3a66f561d7aa -> 1973136f34c6
  • google.golang.org/grpc v1.44.0 -> v1.47.0
  • gopkg.in/check.v1 10cb98267c6c new
  • gopkg.in/yaml.v3 496545a6307b -> v3.0.1