From ebd6b5fd9eb4c3ff04a6ad81ba46592e42528d1a Mon Sep 17 00:00:00 2001 From: Evan Read Date: Tue, 9 Jul 2019 09:08:35 +0000 Subject: [PATCH] Add markdownlint-cli to docs image --- Dockerfile.gitlab-docs-lint | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile.gitlab-docs-lint b/Dockerfile.gitlab-docs-lint index 6869736..f20e7c1 100644 --- a/Dockerfile.gitlab-docs-lint +++ b/Dockerfile.gitlab-docs-lint @@ -6,7 +6,10 @@ WORKDIR /tmp RUN apk update && apk upgrade && apk add --no-cache \ build-base \ bash \ - grep + grep \ + yarn + +RUN yarn global add markdownlint-cli && yarn cache clean RUN wget https://gitlab.com/gitlab-com/gitlab-docs/-/archive/master/gitlab-docs-master.tar.bz2 \ && tar xvjf gitlab-docs-master.tar.bz2 \