Build release notes
This page contains information about the new features, improvements, and bug fixes in Docker Buildxopen_in_new.
0.11.2
2023-07-18The full release note for this release is available on GitHubopen_in_new.
Bug fixes and enhancements
- Fix a regression that caused buildx to not read the
KUBECONFIG
path from the instance store. docker/buildx#1941open_in_new - Fix a regression with result handle builds showing up in the build history incorrectly. docker/buildx#1954open_in_new
0.11.1
2023-07-05The full release note for this release is available on GitHubopen_in_new.
Bug fixes and enhancements
- Fix a regression for bake where services in profiles would not be loaded. docker/buildx#1903open_in_new
- Fix a regression where
--cgroup-parent
option had no effect during build. docker/buildx#1913open_in_new - Fix a regression where valid docker contexts could fail buildx builder name validation. docker/buildx#1879open_in_new
- Fix a possible panic when terminal is resized during the build. docker/buildx#1929open_in_new
0.11.0
2023-06-13The full release note for this release is available on GitHubopen_in_new.
New
- Bake now supports
matrix builds.
The new matrix field on
target
lets you create multiple similar targets to remove duplication in bake files. docker/buildx#1690open_in_new - New experimental
--detach
flag for running builds in detached mode. docker/buildx#1296open_in_new, docker/buildx#1620open_in_new, docker/buildx#1614open_in_new, docker/buildx#1737open_in_new, docker/buildx#1755open_in_new - New experimental debug monitor modeopen_in_new that lets you start a debug session in your builds. docker/buildx#1626open_in_new, docker/buildx#1640open_in_new
- New
EXPERIMENTAL_BUILDKIT_SOURCE_POLICY
environment variable for applying a BuildKit source policy file. docker/buildx#1628open_in_new
Bug fixes and enhancements
--load
now supports loading multi-platform images when the containerd image store is enabled. docker/buildx#1813open_in_new- Build progress output now displays the name of the builder being used. docker/buildx#1177open_in_new
- Bake now supports detecting
compose.{yml,yaml}
files. docker/buildx#1752open_in_new - Bake now supports new compose build keys
dockerfile_inline
andadditional_contexts
. docker/buildx#1784open_in_new - Bake now supports replace HCL function. docker/buildx#1720open_in_new
- Bake now allows merging multiple similar attestation parameters into a single parameter to allow overriding with a single global value. docker/buildx#1699open_in_new
- Initial support for shell completion. docker/buildx#1727open_in_new
- BuildKit versions now correctly display in
buildx ls
andbuildx inspect
for builders using thedocker
driver. docker/buildx#1552open_in_new - Display additional builder node details in buildx inspect view. docker/buildx#1440open_in_new, docker/buildx#1854open_in_new
- Builders using the
remote
driver allow using TLS without proving its own key/cert (if BuildKit remote is configured to support it) docker/buildx#1693open_in_new - Builders using the
kubernetes
driver support a newserviceaccount
option, which sets theserviceAccountName
of the Kubernetes pod. docker/buildx#1597open_in_new - Builders using the
kubernetes
driver support theproxy-url
option in the kubeconfig file. docker/buildx#1780open_in_new - Builders using the
kubernetes
are now automatically assigned a node name if no name is explicitly provided. docker/buildx#1673open_in_new - Fix invalid path when writing certificates for
docker-container
driver on Windows. docker/buildx#1831open_in_new - Fix bake failure when remote bake file is accessed using SSH. docker/buildx#1711open_in_new, docker/buildx#1734open_in_new
- Fix bake failure when remote bake context is incorrectly resolved. docker/buildx#1783open_in_new
- Fix path resolution of
BAKE_CMD_CONTEXT
andcwd://
paths in bake contexts. docker/buildx#1840open_in_new - Fix mixed OCI and Docker media types when creating images using
buildx imagetools create
. docker/buildx#1797open_in_new - Fix mismatched image id between
--iidfile
and-q
. docker/buildx#1844open_in_new - Fix AWS authentication when mixing static creds and IAM profiles. docker/buildx#1816open_in_new
0.10.4
2023-03-06Note
Buildx v0.10 enables support for a minimal SLSA Provenanceopen_in_new attestation, which requires support for OCI-compliantopen_in_new multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and AWS Lambdaopen_in_new). You can optionally disable the default provenance attestation functionality using
--provenance=false
.
Bug fixes and enhancements
- Add
BUILDX_NO_DEFAULT_ATTESTATIONS
as alternative to--provenance false
. docker/buildx#1645open_in_new - Disable dirty Git checkout detection by default for performance. Can be enabled with
BUILDX_GIT_CHECK_DIRTY
opt-in. docker/buildx#1650open_in_new - Strip credentials from VCS hint URL before sending to BuildKit. docker/buildx#1664open_in_new
0.10.3
2023-02-16Note
Buildx v0.10 enables support for a minimal SLSA Provenanceopen_in_new attestation, which requires support for OCI-compliantopen_in_new multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and AWS Lambdaopen_in_new). You can optionally disable the default provenance attestation functionality using
--provenance=false
.
Bug fixes and enhancements
- Fix reachable commit and warnings on collecting Git provenance info. docker/buildx#1592open_in_new, docker/buildx#1634open_in_new
- Fix a regression where docker context was not being validated. docker/buildx#1596open_in_new
- Fix function resolution with JSON bake definition. docker/buildx#1605open_in_new
- Fix case where original HCL bake diagnostic is discarded. docker/buildx#1607open_in_new
- Fix labels not correctly set with bake and compose file. docker/buildx#1631open_in_new
0.10.2
2023-01-30Note
Buildx v0.10 enables support for a minimal SLSA Provenanceopen_in_new attestation, which requires support for OCI-compliantopen_in_new multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and AWS Lambdaopen_in_new). You can optionally disable the default provenance attestation functionality using
--provenance=false
.
Bug fixes and enhancements
- Fix preferred platforms order not taken into account in multi-node builds. docker/buildx#1561open_in_new
- Fix possible panic on handling
SOURCE_DATE_EPOCH
environment variable. docker/buildx#1564open_in_new - Fix possible push error on multi-node manifest merge since BuildKit v0.11 on some registries. docker/buildx#1566open_in_new
- Improve warnings on collecting Git provenance info. docker/buildx#1568open_in_new
0.10.1
2023-01-27Note
Buildx v0.10 enables support for a minimal SLSA Provenanceopen_in_new attestation, which requires support for OCI-compliantopen_in_new multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and AWS Lambdaopen_in_new). You can optionally disable the default provenance attestation functionality using
--provenance=false
.
Bug fixes and enhancements
- Fix sending the correct origin URL as
vsc:source
metadata. docker/buildx#1548open_in_new - Fix possible panic from data-race. docker/buildx#1504open_in_new
- Fix regression with
rm --all-inactive
. docker/buildx#1547open_in_new - Improve attestation access in
imagetools inspect
by lazily loading data. docker/buildx#1546open_in_new - Correctly mark capabilities request as internal. docker/buildx#1538open_in_new
- Detect invalid attestation configuration. docker/buildx#1545open_in_new
- Update containerd patches to fix possible push regression affecting
imagetools
commands. docker/buildx#1559open_in_new
0.10.0
2023-01-10Note
Buildx v0.10 enables support for a minimal SLSA Provenanceopen_in_new attestation, which requires support for OCI-compliantopen_in_new multi-platform images. This may introduce issues with registry and runtime support (e.g. Google Cloud Run and AWS Lambdaopen_in_new). You can optionally disable the default provenance attestation functionality using
--provenance=false
.
New
- The
buildx build
command supports new--attest
flag, along with shorthands--sbom
and--provenance
, for adding attestations for your current build. docker/buildx#1412open_in_new docker/buildx#1475open_in_new--attest type=sbom
or--sbom=true
adds SBOM attestations.--attest type=provenance
or--provenance=true
adds SLSA provenance attestation.- When creating OCI images, a minimal provenance attestation is included with the image by default.
- When building with BuildKit that supports provenance attestations Buildx will
automatically share the version control information of your build context, so
it can be shown in provenance for later debugging. Previously this only
happened when building from a Git URL directly. To opt-out of this behavior
you can set
BUILDX_GIT_INFO=0
. Optionally you can also automatically define labels with VCS info by settingBUILDX_GIT_LABELS=1
. docker/buildx#1462open_in_new, docker/buildx#1297open_in_new, docker/buildx#1341open_in_new, docker/buildx#1468open_in_new, docker/buildx#1477open_in_new - Named contexts with
--build-context
now supportoci-layout://
protocol for initializing the context with a value of a local OCI layout directory. E.g.--build-context stagename=oci-layout://path/to/dir
. This feature requires BuildKit v0.11.0+ and Dockerfile 1.5.0+. docker/buildx#1456open_in_new - Bake now supports resource interpolation where you can reuse the values from other target definitions. docker/buildx#1434open_in_new
- Buildx will now automatically forward
SOURCE_DATE_EPOCH
environment variable if it is defined in your environment. This feature is meant to be used with updated reproducible buildsopen_in_new support in BuildKit v0.11.0+. docker/buildx#1482open_in_new - Buildx now remembers the last activity for a builder for better organization of builder instances. docker/buildx#1439open_in_new
- Bake definition now supports null values for variables and labels for build arguments and labels to use the defaults set in the Dockerfile. docker/buildx#1449open_in_new
- The
buildx imagetools inspect
command now supports showing SBOM and Provenance data. docker/buildx#1444open_in_new, docker/buildx#1498open_in_new - Increase performance of
ls
command and inspect flows. docker/buildx#1430open_in_new, docker/buildx#1454open_in_new, docker/buildx#1455open_in_new, docker/buildx#1345open_in_new - Adding extra hosts with
Docker driver now supports
Docker-specific
host-gateway
special value. docker/buildx#1446open_in_new - OCI exporter now supports
tar=false
option for exporting OCI format directly in a directory. docker/buildx#1420open_in_new
Upgrades
- Updated the Compose Specification to 1.6.0. docker/buildx#1387open_in_new
Bug fixes and enhancements
--invoke
can now load default launch environment from the image metadata. docker/buildx#1324open_in_new- Fix container driver behavior in regards to UserNS. docker/buildx#1368open_in_new
- Fix possible panic in Bake when using wrong variable value type. docker/buildx#1442open_in_new
- Fix possible panic in
imagetools inspect
. docker/buildx#1441open_in_new docker/buildx#1406open_in_new - Fix sending empty
--add-host
value to BuildKit by default. docker/buildx#1457open_in_new - Fix handling progress prefixes with progress groups. docker/buildx#1305open_in_new
- Fix recursively resolving groups in Bake. docker/buildx#1313open_in_new
- Fix possible wrong indentation on multi-node builder manifests. docker/buildx#1396open_in_new
- Fix possible panic from missing OpenTelemetry configuration. docker/buildx#1383open_in_new
- Fix
--progress=tty
behavior when TTY is not available. docker/buildx#1371open_in_new - Fix connection error conditions in
prune
anddu
commands. docker/buildx#1307open_in_new
0.9.1
2022-08-18Bug fixes and enhancements
- The
inspect
command now displays the BuildKit version in use. docker/buildx#1279open_in_new - Fixed a regression when building Compose files that contain services without a build block. docker/buildx#1277open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.9.0
2022-08-17New
- Support for a new
remote
driver that you can use to connect to any already running BuildKit instance. docker/buildx#1078open_in_new, docker/buildx#1093open_in_new, docker/buildx#1094open_in_new, docker/buildx#1103open_in_new, docker/buildx#1134open_in_new, docker/buildx#1204open_in_new - You can now load Dockerfile from standard input even when the build context is coming from external Git or HTTP URL. docker/buildx#994open_in_new
- Build commands now support new the 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 frommoby/buildkit:master
needs to be used until BuildKit v0.11 is released. docker/buildx#1173open_in_new - You can now use the new
--print
flag to run helper functions supported by the BuildKit frontend performing the build and print their results. You can use this feature in Dockerfile 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 enablingBUILDX_EXPERIMENTAL=1
environment variable. We plan to update/extend this feature in the future without keeping backward compatibility. docker/buildx#1100open_in_new, docker/buildx#1272open_in_new - You can now use the new
--invoke
flag to launch interactive containers from build results for an interactive debugging cycle. You can reload these containers with code changes or restore them to an initial state from the special monitor mode. This feature is experimental for gathering early feedback and requires enablingBUILDX_EXPERIMENTAL=1
environment variable. We plan to update/extend this feature in the future without enabling backward compatibility. docker/buildx#1168open_in_new, docker/buildx#1257open_in_new, docker/buildx#1259open_in_new - Buildx now understands environment variable
BUILDKIT_COLORS
andNO_COLOR
to customize/disable the colors of interactive build progressbar. docker/buildx#1230open_in_new, docker/buildx#1226open_in_new buildx ls
command now shows the current BuildKit version of each builder instance. docker/buildx#998open_in_new- The
bake
command now loads.env
file automatically when building Compose files for compatibility. docker/buildx#1261open_in_new - Bake now supports Compose files with
cache_to
definition. docker/buildx#1155open_in_new - Bake now supports new builtin function
timestamp()
to access current time. docker/buildx#1214open_in_new - Bake now supports Compose build secrets definition. docker/buildx#1069open_in_new
- Additional build context configuration is now supported in Compose files via
x-bake
. docker/buildx#1256open_in_new - Inspecting builder now shows current driver options configuration. docker/buildx#1003open_in_new, docker/buildx#1066open_in_new
Updates
- Updated the Compose Specification to 1.4.0. docker/buildx#1246open_in_new, docker/buildx#1251open_in_new
Bug fixes and enhancements
- The
buildx ls
command output has been updated with better access to errors from different builders. docker/buildx#1109open_in_new - The
buildx create
command now performs additional validation of builder parameters to avoid creating a builder instance with invalid configuration. docker/buildx#1206open_in_new - The
buildx imagetools create
command can now create new multi-platform images even if the source subimages are located on different repositories or registries. docker/buildx#1137open_in_new - You can now set the default builder config that is used when creating
builder instances without passing custom
--config
value. docker/buildx#1111open_in_new - Docker driver can now detect if
dockerd
instance supports initially disabled Buildkit features like multi-platform images. docker/buildx#1260open_in_new, docker/buildx#1262open_in_new - Compose files using targets with
.
in the name are now converted to use_
so the selector keys can still be used in such targets. docker/buildx#1011open_in_new - Included an additional validation for checking valid driver configurations. docker/buildx#1188open_in_new, docker/buildx#1273open_in_new
- The
remove
command now displays the removed builder and forbids removing context builders. docker/buildx#1128open_in_new - Enable Azure authentication when using Kubernetes driver. docker/buildx#974open_in_new
- Add tolerations handling for kubernetes driver. docker/buildx#1045open_in_new docker/buildx#1053open_in_new
- Replace deprecated seccomp annotations with
securityContext
in thekubernetes
driver. docker/buildx#1052open_in_new - Fix panic on handling manifests with nil platform. docker/buildx#1144open_in_new
- Fix using duration filter with
prune
command. docker/buildx#1252open_in_new - Fix merging multiple JSON files on Bake definition. docker/buildx#1025open_in_new
- Fix issues with implicit builder created from Docker context had invalid configuration or dropped connection. docker/buildx#1129open_in_new
- Fix conditions for showing no-output warning when using named contexts. docker/buildx#968open_in_new
- Fix duplicating builders when builder instance and docker context have the same name. docker/buildx#1131open_in_new
- Fix printing unnecessary SSH warning logs. docker/buildx#1085open_in_new
- Fix possible panic when using an empty variable block with Bake JSON definition. docker/buildx#1080open_in_new
- Fix image tools commands not handling
--builder
flag correctly. docker/buildx#1067open_in_new - Fix using custom image together with rootless option. docker/buildx#1063open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.8.2
2022-04-04Updates
- Update Compose spec used by
buildx bake
to v1.2.1 to fix parsing ports definition. docker/buildx#1033open_in_new
Bug fixes and enhancements
- Fix possible crash on handling progress streams from BuildKit v0.10. docker/buildx#1042open_in_new
- Fix parsing groups in
buildx bake
when already loaded by a parent group. docker/buildx#1021open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.8.1
2022-03-21Bug fixes and enhancements
- Fix possible panic on handling build context scanning errors. docker/buildx#1005open_in_new
- Allow
.
on Compose target names inbuildx bake
for backward compatibility. docker/buildx#1018open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.8.0
2022-03-09New
- Build command now accepts
--build-context
flag to define additional named build contexts for your builds. docker/buildx#904open_in_new - Bake definitions now support defining dependencies between targets and using the result of one target in another build. docker/buildx#928open_in_new, docker/buildx#965open_in_new, docker/buildx#963open_in_new, docker/buildx#962open_in_new, docker/buildx#981open_in_new
imagetools inspect
now accepts--format
flag allowing access to config and buildinfo for specific images. docker/buildx#854open_in_new, docker/buildx#972open_in_new- New flag
--no-cache-filter
allows configuring build, so it ignores cache only for specified Dockerfile stages. docker/buildx#860open_in_new - Builds can now show a summary of warnings sets by the building frontend. docker/buildx#892open_in_new
- The new build argument
BUILDKIT_INLINE_BUILDINFO_ATTRS
allows opting-in to embed building attributes to resulting image. docker/buildx#908open_in_new - The new flag
--keep-buildkitd
allows keeping BuildKit daemon running when removing a builder
Bug fixes and enhancements
--metadata-file
output now supports embedded structure types. docker/buildx#946open_in_newbuildx rm
now accepts new flag--all-inactive
for removing all builders that are not currently running. docker/buildx#885open_in_new- Proxy config is now read from Docker configuration file and sent with build requests for backward compatibility. docker/buildx#959open_in_new
- Support host networking in Compose. docker/buildx#905open_in_new, docker/buildx#880open_in_new
- Bake files can now be read from stdin with
-f -
. docker/buildx#864open_in_new --iidfile
now always writes the image config digest independently of the driver being used (use--metadata-file
for digest). docker/buildx#980open_in_new- Target names in Bake are now restricted to not use special characters. docker/buildx#929open_in_new
- Image manifest digest can be read from metadata when pushed with
docker
driver. docker/buildx#989open_in_new - Fix environment file handling in Compose files. docker/buildx#905open_in_new
- Show last access time in
du
command. docker/buildx#867open_in_new - Fix possible double output logs when multiple Bake targets run same build steps. docker/buildx#977open_in_new
- Fix possible errors on multi-node builder building multiple targets with mixed platform. docker/buildx#985open_in_new
- Fix some nested inheritance cases in Bake. docker/buildx#914open_in_new
- Fix printing default group on Bake files. docker/buildx#884open_in_new
- Fix
UsernsMode
when using rootless container. docker/buildx#887open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.7.1
2021-08-25Fixes
- Fix issue with matching exclude rules in
.dockerignore
. docker/buildx#858open_in_new - Fix
bake --print
JSON output for current group. docker/buildx#857open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.7.0
2021-11-10New features
- TLS certificates from BuildKit configuration are now transferred to build
container with
docker-container
andkubernetes
drivers. docker/buildx#787open_in_new - Builds support
--ulimit
flag for feature parity. docker/buildx#800open_in_new - Builds support
--shm-size
flag for feature parity. docker/buildx#790open_in_new - Builds support
--quiet
for feature parity. docker/buildx#740open_in_new - Builds support
--cgroup-parent
flag for feature parity. docker/buildx#814open_in_new - Bake supports builtin variable
BAKE_LOCAL_PLATFORM
. docker/buildx#748open_in_new - Bake supports
x-bake
extension field in Compose files. docker/buildx#721open_in_new kubernetes
driver now supports colon-separatedKUBECONFIG
. docker/buildx#761open_in_newkubernetes
driver now supports setting Buildkit config file with--config
. docker/buildx#682open_in_newkubernetes
driver now supports installing QEMU emulators with driver-opt. docker/buildx#682open_in_new
Enhancements
- Allow using custom registry configuration for multi-node pushes from the client. docker/buildx#825open_in_new
- Allow using custom registry configuration for
buildx imagetools
command. docker/buildx#825open_in_new - Allow booting builder after creating with
buildx create --bootstrap
. docker/buildx#692open_in_new - Allow
registry:insecure
output option for multi-node pushes. docker/buildx#825open_in_new - BuildKit config and TLS files are now kept in Buildx state directory and reused if BuildKit instance needs to be recreated. docker/buildx#824open_in_new
- Ensure different projects use separate destination directories for incremental context transfer for better performance. docker/buildx#817open_in_new
- Build containers are now placed on separate cgroup by default. docker/buildx#782open_in_new
- Bake now prints the default group with
--print
. docker/buildx#720open_in_new docker
driver now dials build session over HTTP for better performance. docker/buildx#804open_in_new
Fixes
- Fix using
--iidfile
together with a multi-node push. docker/buildx#826open_in_new - Using
--push
in Bake does not clear other image export options in the file. docker/buildx#773open_in_new - Fix Git URL detection for
buildx bake
whenhttps
protocol was used. docker/buildx#822open_in_new - Fix pushing image with multiple names on multi-node builds. docker/buildx#815open_in_new
- Avoid showing
--builder
flags for commands that don't use it. docker/buildx#818open_in_new - Unsupported build flags now show a warning. docker/buildx#810open_in_new
- Fix reporting error details in some OpenTelemetry traces. docker/buildx#812open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.6.3
2021-08-30Fixes
- Fix BuildKit state volume location for Windows clients. docker/buildx#751open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.6.2
2021-08-21For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
Fixes
- Fix connection error showing up in some SSH configurations. docker/buildx#741open_in_new
0.6.1
2021-07-30Enhancements
- Set
ConfigFile
to parse compose files with Bake. docker/buildx#704open_in_new
Fixes
- Duplicate progress env var. docker/buildx#693open_in_new
- Should ignore nil client. docker/buildx#686open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.6.0
2021-07-16New features
- Support for OpenTelemetry traces and forwarding Buildx client traces to BuildKit. docker/buildx#635open_in_new
- Experimental GitHub Actions remote cache backend with
--cache-to type=gha
and--cache-from type=gha
. docker/buildx#535open_in_new - New
--metadata-file
flag has been added to build and Bake command that allows saving build result metadata in JSON format. docker/buildx#605open_in_new - This is the first release supporting Windows ARM64. docker/buildx#654open_in_new
- This is the first release supporting Linux Risc-V. docker/buildx#652open_in_new
- Bake now supports building from remote definition with local files or another remote source as context. docker/buildx#671open_in_new
- Bake now allows variables to reference each other and using user functions in variables and vice-versa. docker/buildx#575open_in_new, docker/buildx#539open_in_new, docker/buildx#532open_in_new
- Bake allows defining attributes in the global scope. docker/buildx#541open_in_new
- Bake allows variables across multiple files. docker/buildx#538open_in_new
- New quiet mode has been added to progress printer. docker/buildx#558open_in_new
kubernetes
driver now supports defining resources/limits. docker/buildx#618open_in_new- Buildx binaries can now be accessed through buildx-binopen_in_new Docker image. docker/buildx#656open_in_new
Enhancements
docker-container
driver now keeps BuildKit state in volume. Enabling updates with keeping state. docker/buildx#672open_in_new- Compose parser is now based on new compose-go parseropen_in_new fixing support for some newer syntax. docker/buildx#669open_in_new
- SSH socket is now automatically forwarded when building an ssh-based git URL. docker/buildx#581open_in_new
- Bake HCL parser has been rewritten. docker/buildx#645open_in_new
- Extend HCL support with more functions. docker/buildx#491open_in_new docker/buildx#503open_in_new
- Allow secrets from environment variables. docker/buildx#488open_in_new
- Builds with an unsupported multi-platform and load configuration now fail fast. docker/buildx#582open_in_new
- Store Kubernetes config file to make buildx builder switchable. docker/buildx#497open_in_new
- Kubernetes now lists all pods as nodes on inspection. docker/buildx#477open_in_new
- Default Rootless image has been set to
moby/buildkit:buildx-stable-1-rootless
. docker/buildx#480open_in_new
Fixes
imagetools create
command now correctly merges JSON descriptor with old one. docker/buildx#592open_in_new- Fix building with
--network=none
not requiring extra security entitlements. docker/buildx#531open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.5.1
2020-12-15Fixes
- Fix regression on setting
--platform
onbuildx create
outsidekubernetes
driver. docker/buildx#475open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.5.0
2020-12-15New features
- The
docker
driver now supports the--push
flag. docker/buildx#442open_in_new - Bake supports inline Dockerfiles. docker/buildx#398open_in_new
- Bake supports building from remote URLs and Git repositories. docker/buildx#398open_in_new
BUILDX_CONFIG
env var allow users to have separate buildx state from Docker config. docker/buildx#385open_in_newBUILDKIT_MULTI_PLATFORM
build arg allows to force building multi-platform return objects even if only one--platform
specified. docker/buildx#467open_in_new
Enhancements
- Allow
--append
to be used withkubernetes
driver. docker/buildx#370open_in_new - Build errors show error location in source files and system stacktraces
with
--debug
. docker/buildx#389open_in_new - Bake formats HCL errors with source definition. docker/buildx#391open_in_new
- Bake allows empty string values in arrays that will be discarded. docker/buildx#428open_in_new
- You can now use the Kubernetes cluster config with the
kubernetes
driver. docker/buildx#368open_in_new docker/buildx#460open_in_new - Creates a temporary token for pulling images instead of sharing credentials when possible. docker/buildx#469open_in_new
- Ensure credentials are passed when pulling BuildKit container image. docker/buildx#441open_in_new docker/buildx#433open_in_new
- Disable user namespace remapping in
docker-container
driver. docker/buildx#462open_in_new - Allow
--builder
flag to switch to default instance. docker/buildx#425open_in_new - Avoid warn on empty
BUILDX_NO_DEFAULT_LOAD
config value. docker/buildx#390open_in_new - Replace error generated by
quiet
option by a warning. docker/buildx#403open_in_new - CI has been switched to GitHub Actions. docker/buildx#451open_in_new, docker/buildx#463open_in_new, docker/buildx#466open_in_new, docker/buildx#468open_in_new, docker/buildx#471open_in_new
Fixes
- Handle lowercase Dockerfile name as a fallback for backward compatibility. docker/buildx#444open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.4.2
2020-08-22New features
- Support
cacheonly
exporter. docker/buildx#337open_in_new
Enhancements
- Update
go-cty
to pull in morestdlib
functions. docker/buildx#277open_in_new - Improve error checking on load. docker/buildx#281open_in_new
Fixes
- Fix parsing json config with HCL. docker/buildx#280open_in_new
- Ensure
--builder
is wired from root options. docker/buildx#321open_in_new - Remove warning for multi-platform iidfile. docker/buildx#351open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.4.1
2020-05-01Fixes
- Fix regression on flag parsing. docker/buildx#268open_in_new
- Fix using pull and no-cache keys in HCL targets. docker/buildx#268open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.4.0
2020-04-30New features
- Add
kubernetes
driver. docker/buildx#167open_in_new - New global
--builder
flag to override builder instance for a single command. docker/buildx#246open_in_new - New
prune
anddu
commands for managing local builder cache. docker/buildx#249open_in_new - You can now set the new
pull
andno-cache
options for HCL targets. docker/buildx#165open_in_new
Enhancements
- Upgrade Bake to HCL2 with support for variables and functions. docker/buildx#192open_in_new
- Bake now supports
--load
and--push
. docker/buildx#164open_in_new - Bake now supports wildcard overrides for multiple targets. docker/buildx#164open_in_new
- Container driver allows setting environment variables via
driver-opt
. docker/buildx#170open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.3.1
2019-09-27Enhancements
- Handle copying unix sockets instead of erroring. docker/buildx#155open_in_new moby/buildkit#1144open_in_new
Fixes
- Running Bake with multiple Compose files now merges targets correctly. docker/buildx#134open_in_new
- Fix bug when building a Dockerfile from stdin (
build -f -
). docker/buildx#153open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.3.0
2019-08-02New features
- Custom
buildkitd
daemon flags. docker/buildx#102open_in_new - Driver-specific options on
create
. docker/buildx#122open_in_new
Enhancements
- Environment variables are used in Compose files. docker/buildx#117open_in_new
- Bake now honors
--no-cache
and--pull
. docker/buildx#118open_in_new - Custom BuildKit config file. docker/buildx#121open_in_new
- Entitlements support with
build --allow
. docker/buildx#104open_in_new
Fixes
- Fix bug where
--build-arg foo
would not readfoo
from environment. docker/buildx#116open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.2.2
2019-05-30Enhancements
- Change Compose file handling to require valid service specifications. docker/buildx#87open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.2.1
2019-05-25New features
- Add
BUILDKIT_PROGRESS
env var. docker/buildx#69open_in_new - Add
local
platform. docker/buildx#70open_in_new
Enhancements
- Keep arm variant if one is defined in the config. docker/buildx#68open_in_new
- Make dockerfile relative to context. docker/buildx#83open_in_new
Fixes
- Fix parsing target from compose files. docker/buildx#53open_in_new
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.
0.2.0
2019-04-25New features
- First release
For more details, see the complete release notes in the Buildx GitHub repositoryopen_in_new.