From f4573ce16cf69c8d888f47e2415a93bb091834ff Mon Sep 17 00:00:00 2001 From: Allen Sun Date: Sun, 11 Nov 2018 17:34:16 +0800 Subject: [PATCH] feature: add markdown link checker Signed-off-by: Allen Sun --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 672d1d8..1faca69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,9 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH RUN git clone https://github.com/markdownlint/markdownlint.git \ && cd markdownlint && git checkout v0.5.0 && rake install +# install markdown-link-check from https://github.com/tcort/markdown-link-check +RUN npm install -g markdown-link-check + # install gometalinter containing misspell RUN go get -u github.com/alecthomas/gometalinter RUN gometalinter --install > /dev/null