From f2b750218c0f8c885f7d48947ea76a9bb631317f Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Thu, 31 Oct 2024 11:31:09 +0100 Subject: [PATCH] hotfix: patch invalid docs syntax in upstream docs Upstream fix in moby/buildkit#5475 Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- .../moby/buildkit/frontend/dockerfile/docs/reference.md | 2 +- .../dockerfile/docs/rules/invalid-definition-description.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/reference.md b/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/reference.md index 1512bfafbde..d4b90db2143 100644 --- a/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/reference.md +++ b/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/reference.md @@ -347,7 +347,7 @@ despite warnings. To make the build fail on warnings, set `#check=error=true`. > [!NOTE] > When using the `check` directive, with `error=true` option, it is recommended -> to pin the [Dockerfile syntax]((#syntax)) to a specific version. Otherwise, your build may +> to pin the [Dockerfile syntax](#syntax) to a specific version. Otherwise, your build may > start to fail when new checks are added in the future versions. To combine both the `skip` and `error` options, use a semi-colon to separate diff --git a/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/rules/invalid-definition-description.md b/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/rules/invalid-definition-description.md index 23d353c03c6..7a86f2ba709 100644 --- a/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/rules/invalid-definition-description.md +++ b/_vendor/github.com/moby/buildkit/frontend/dockerfile/docs/rules/invalid-definition-description.md @@ -1,6 +1,6 @@ --- title: InvalidDefinitionDescription -description: Comment for build stage or argument should follow the format: `# `. If this is not intended to be a description comment, add an empty line or comment between the instruction and the comment. +description: "Comment for build stage or argument should follow the format: `# `. If this is not intended to be a description comment, add an empty line or comment between the instruction and the comment." aliases: - /go/dockerfile/rule/invalid-definition-description/ ---