Created
September 30, 2021 10:01
-
-
Save opdavies/e605e9db6b9d3cdc3c63770906ce0e13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DOCKER_BUILDKIT=1 docker image build -f markdownlint.Dockerfile -t markdownlint . | |
docker run --rm \ | |
-v $(pwd)/.markdownlint.yaml:/root/.markdownlint.yaml \ | |
-v $(pwd)/source:/data \ | |
markdownlint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:14-alpine | |
ENTRYPOINT ["markdownlint"] | |
CMD ["/data"] | |
WORKDIR /root | |
RUN npm install -g markdownlint-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment