Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dockerfiles/gitlab-docs-lint-markdown.Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/dockerfiles/gitlab-docs-lint-markdown.Dockerfile b/dockerfiles/gitlab-docs-lint-markdown.Dockerfile
index 233b809d..fde3190a 100644
--- a/dockerfiles/gitlab-docs-lint-markdown.Dockerfile
+++ b/dockerfiles/gitlab-docs-lint-markdown.Dockerfile
@@ -10,6 +10,9 @@ ARG VALE_VERSION
ARG MARKDOWNLINT_VERSION
ARG MARKDOWNLINT2_VERSION
+# Set NODE_PATH to allow custom markdownlint rules to use global packages
+ENV NODE_PATH="/usr/local/share/.config/yarn/global/node_modules"
+
# Install dependencies
RUN printf "\n\e[32mINFO: Installing dependencies..\e[39m\n" && apk add --no-cache -U \
bash \