From e7790948fb17938f185882dcffa9d50982e8922c Mon Sep 17 00:00:00 2001
From: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Date: Mon, 10 Jun 2024 20:27:47 +0200
Subject: [PATCH] dockerfile: fix lint rules links in index
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
---
frontend/dockerfile/docs/rules/_index.md | 28 +++++++++++------------
frontend/dockerfile/linter/docs/_index.md | 4 ++--
frontend/dockerfile/linter/generate.go | 6 ++---
3 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/frontend/dockerfile/docs/rules/_index.md b/frontend/dockerfile/docs/rules/_index.md
index 6fcee3d1eff5..9e5b091ba07a 100644
--- a/frontend/dockerfile/docs/rules/_index.md
+++ b/frontend/dockerfile/docs/rules/_index.md
@@ -29,59 +29,59 @@ $ docker build --check .
- StageNameCasing |
+ StageNameCasing |
Stage names should be lowercase |
- FromAsCasing |
+ FromAsCasing |
The 'as' keyword should match the case of the 'from' keyword |
- NoEmptyContinuations |
+ NoEmptyContinuations |
Empty continuation lines will become errors in a future release |
- ConsistentInstructionCasing |
+ ConsistentInstructionCasing |
Instructions should be in consistent casing (all lower or all upper) |
- FileConsistentCommandCasing |
+ FileConsistentCommandCasing |
All commands within the Dockerfile should use the same casing (either upper or lower) |
- DuplicateStageName |
+ DuplicateStageName |
Stage names should be unique |
- ReservedStageName |
+ ReservedStageName |
Reserved words should not be used as stage names |
- JSONArgsRecommended |
+ JSONArgsRecommended |
JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals |
- MaintainerDeprecated |
+ MaintainerDeprecated |
The MAINTAINER instruction is deprecated, use a label instead to define an image author |
- UndefinedArgInFrom |
+ UndefinedArgInFrom |
FROM command must use declared ARGs |
- WorkdirRelativePath |
+ WorkdirRelativePath |
Relative workdir without an absolute workdir declared within the build can have unexpected results if the base image changes |
- UndefinedVar |
+ UndefinedVar |
Variables should be defined before their use |
- MultipleInstructionsDisallowed |
+ MultipleInstructionsDisallowed |
Multiple instructions of the same type should not be used in the same stage |
- LegacyKeyValueFormat |
+ LegacyKeyValueFormat |
Legacy key/value format with whitespace separator should not be used |
diff --git a/frontend/dockerfile/linter/docs/_index.md b/frontend/dockerfile/linter/docs/_index.md
index e6206172dae4..09a9e9018692 100644
--- a/frontend/dockerfile/linter/docs/_index.md
+++ b/frontend/dockerfile/linter/docs/_index.md
@@ -30,8 +30,8 @@ $ docker build --check .