From 8201899a00c97e814b3e212572b2738232016ebe Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:05:06 +0100 Subject: [PATCH] build: dockerfile 1.11.0 release notes Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- .../buildkit/dockerfile-release-notes.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/content/manuals/build/buildkit/dockerfile-release-notes.md b/content/manuals/build/buildkit/dockerfile-release-notes.md index b0f63ac5c17..a5964298e74 100644 --- a/content/manuals/build/buildkit/dockerfile-release-notes.md +++ b/content/manuals/build/buildkit/dockerfile-release-notes.md @@ -13,6 +13,38 @@ issues, and bug fixes in [Dockerfile reference](/reference/dockerfile.md). For usage, see the [Dockerfile frontend syntax](frontend.md) page. +## 1.11.0 + +{{< release-date date="2024-10-30" >}} + +The full release note for this release is available +[on GitHub](https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.11.0). + +```dockerfile +# syntax=docker/dockerfile:1.11.0 +``` + +- The [`ONBUILD` instruction](/reference/dockerfile.md#onbuild) now supports commands that refer to other stages or images with `from`, such as `COPY --from` or `RUN mount=from=...`. [moby/buildkit#5357] +- The [`SecretsUsedInArgOrEnv`](/reference/build-checks/secrets-used-in-arg-or-env.md) build check has been improved to reduce false positives. [moby/buildkit#5208] +- A new [`InvalidDefinitionDescription`](/reference/build-checks/invalid-definition-description.md) build check recommends formatting comments for build arguments and stages descriptions. This is an [experimental check](/manuals/build/checks.md#experimental-checks). [moby/buildkit#5208], [moby/buildkit#5414] +- Multiple fixes for the `ONBUILD` instruction's progress and error handling. [moby/buildkit#5397] +- Improved error reporting for missing flag errors. [moby/buildkit#5369] +- Enhanced progress output for secret values mounted as environment variables. [moby/buildkit#5336] +- Added built-in build argument `TARGETSTAGE` to expose the name of the (final) target stage for the current build. [moby/buildkit#5431] + +### 1.11.0-labs + +- `COPY --chmod` now supports non-octal values. [moby/buildkit#5380] + +[moby/buildkit#5357]: https://github.com/moby/buildkit/pull/5357 +[moby/buildkit#5208]: https://github.com/moby/buildkit/pull/5208 +[moby/buildkit#5414]: https://github.com/moby/buildkit/pull/5414 +[moby/buildkit#5397]: https://github.com/moby/buildkit/pull/5397 +[moby/buildkit#5369]: https://github.com/moby/buildkit/pull/5369 +[moby/buildkit#5336]: https://github.com/moby/buildkit/pull/5336 +[moby/buildkit#5431]: https://github.com/moby/buildkit/pull/5431 +[moby/buildkit#5380]: https://github.com/moby/buildkit/pull/5380 + ## 1.10.0 {{< release-date date="2024-09-10" >}}