All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-amd64 (pull_request) Successful in 1m31s
Build / build-arm64 (pull_request) Successful in 1m45s
Lint Markdown files / markdown-lint (push) Successful in 12s
Build / build-amd64 (push) Successful in 24s
Build / build-arm64 (push) Successful in 1m42s
20 lines
467 B
Docker
20 lines
467 B
Docker
FROM docker.io/library/node:23.11.0-alpine3.20 AS build
|
|
|
|
ARG MARKDOWNLINT_VERSION=master
|
|
|
|
RUN set -ex && \
|
|
apk update && \
|
|
apk upgrade && \
|
|
apk add --no-cache git
|
|
|
|
RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/markdownlint-cli /markdownlint && \
|
|
cd /markdownlint && \
|
|
npm install --production && \
|
|
npm install --global
|
|
|
|
WORKDIR /work
|
|
|
|
RUN ln -fs /work /workspace
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/markdownlint" ]
|