Merge pull request #20902 from dvdksn/buildx-0.17-buildkit-0.16

build release notes: buildx 0.17.0, 0.17.1, dockerfile 1.10.0
This commit is contained in:
David Karlsson 2024-09-16 10:48:15 +02:00 committed by GitHub
commit 087e9cc367
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 98 additions and 0 deletions

View File

@ -13,6 +13,33 @@ issues, and bug fixes in [Dockerfile reference](/reference/dockerfile.md).
For usage, see the [Dockerfile frontend syntax](frontend.md) page.
## 1.10.0
{{< release-date date="2024-09-10" >}}
The full release note for this release is available
[on GitHub](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.10.0).
```dockerfile
# syntax=docker/dockerfile:1.10.0
```
- [Build secrets](/manuals/build/building/secrets.md#target) can now be mounted as environment variables using the `env=VARIABLE` option. [moby/buildkit#5215]
- The [`# check` directive](/reference/dockerfile.md#check) now allows new experimental attribute for enabling experimental validation rules like `CopyIgnoredFile`. [moby/buildkit#5213]
- Improve validation of unsupported modifiers for variable substitution. [moby/buildkit#5146]
- `ADD` and `COPY` instructions now support variable interpolation for build arguments for the `--chmod` option values. [moby/buildkit#5151]
- Improve validation of the `--chmod` option for `COPY` and `ADD` instructions. [moby/buildkit#5148]
- Fix missing completions for size and destination attributes on mounts. [moby/buildkit#5245]
- OCI annotations are now set to the Dockerfile frontend release image. [moby/buildkit#5197]
[moby/buildkit#5215]: https://github.com/moby/buildkit/pull/5215
[moby/buildkit#5213]: https://github.com/moby/buildkit/pull/5213
[moby/buildkit#5146]: https://github.com/moby/buildkit/pull/5146
[moby/buildkit#5151]: https://github.com/moby/buildkit/pull/5151
[moby/buildkit#5148]: https://github.com/moby/buildkit/pull/5148
[moby/buildkit#5245]: https://github.com/moby/buildkit/pull/5245
[moby/buildkit#5197]: https://github.com/moby/buildkit/pull/5197
## 1.9.0
{{< release-date date="2024-07-11" >}}

View File

@ -10,6 +10,77 @@ toc_max: 2
This page contains information about the new features, improvements, and bug
fixes in [Docker Buildx](https://github.com/docker/buildx).
## 0.17.1
{{< release-date date="2024-09-13" >}}
The full release note for this release is available
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.17.1).
### Bug fixes
- Do not set `network.host` entitlement flag automatically on builder creation
for the `docker-container` and `kubernetes` drivers if the entitlement is set
in the [BuildKit configuration file](/manuals/build/buildkit/toml-configuration.md). [docker/buildx#2685]
- Do not print the `network` field with `docker buildx bake --print` when empty. [docker/buildx#2689]
- Fix telemetry socket path under WSL2. [docker/buildx#2698]
[docker/buildx#2685]: https://github.com/docker/buildx/pull/2685
[docker/buildx#2689]: https://github.com/docker/buildx/pull/2689
[docker/buildx#2698]: https://github.com/docker/buildx/pull/2698
## 0.17.0
{{< release-date date="2024-09-10" >}}
The full release note for this release is available
[on GitHub](https://github.com/docker/buildx/releases/tag/v0.17.0).
### New
- Add `basename`, `dirname` and `sanitize` functions to Bake. [docker/buildx#2649]
- Enable support for Bake entitlements to allow privileged operations during builds. [docker/buildx#2666]
### Enhancements
- Introduce CLI metrics tracking for Bake commands. [docker/buildx#2610]
- Add `--debug` to all build commands. Previously, it was only available on the top-level `docker` and `docker buildx` commands. [docker/buildx#2660]
- Allow builds from stdin for multi-node builders. [docker/buildx#2656]
- Improve `kubernetes` driver initialization. [docker/buildx#2606]
- Include target name in the error message when building multiple targets with Bake. [docker/buildx#2651]
- Optimize metrics handling to reduce performance overhead during progress tracking. [docker/buildx#2641]
- Display the number of warnings after completing a rule check. [docker/buildx#2647]
- Skip build ref and provenance metadata for frontend methods. [docker/buildx#2650]
- Add support for setting network mode in Bake files (HCL and JSON). [docker/buildx#2671]
- Support the `--metadata-file` flag when set along the `--call` flag. [docker/buildx#2640]
- Use shared session for local contexts used by multiple Bake targets. [docker/buildx#2615], [docker/buildx#2607], [docker/buildx#2663]
### Bug fixes
- Improve memory management to avoid unnecessary allocations. [docker/buildx#2601]
### Packaging updates
- Compose support has been updated to v2.1.6. [docker/buildx#2547]
[docker/buildx#2547]: https://github.com/docker/buildx/pull/2547/
[docker/buildx#2601]: https://github.com/docker/buildx/pull/2601/
[docker/buildx#2606]: https://github.com/docker/buildx/pull/2606/
[docker/buildx#2607]: https://github.com/docker/buildx/pull/2607/
[docker/buildx#2610]: https://github.com/docker/buildx/pull/2610/
[docker/buildx#2615]: https://github.com/docker/buildx/pull/2615/
[docker/buildx#2640]: https://github.com/docker/buildx/pull/2640/
[docker/buildx#2641]: https://github.com/docker/buildx/pull/2641/
[docker/buildx#2647]: https://github.com/docker/buildx/pull/2647/
[docker/buildx#2649]: https://github.com/docker/buildx/pull/2649/
[docker/buildx#2650]: https://github.com/docker/buildx/pull/2650/
[docker/buildx#2651]: https://github.com/docker/buildx/pull/2651/
[docker/buildx#2656]: https://github.com/docker/buildx/pull/2656/
[docker/buildx#2660]: https://github.com/docker/buildx/pull/2660/
[docker/buildx#2663]: https://github.com/docker/buildx/pull/2663/
[docker/buildx#2666]: https://github.com/docker/buildx/pull/2666/
[docker/buildx#2671]: https://github.com/docker/buildx/pull/2671/
## 0.16.2
{{< release-date date="2024-07-25" >}}