-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
30 lines (20 loc) · 988 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM node:current-alpine@sha256:c61b6b12a3c96373673cd52d7ecee2314e82bca5d541eecf0bc6aee870c8c6f7
LABEL maintainer="Petr Ruzicka <petr.ruzicka@gmail.com>"
LABEL repository="https://github.com/ruzickap/action-my-markdown-link-checker"
LABEL homepage="https://github.com/ruzickap/action-my-markdown-link-checker"
LABEL "com.github.actions.name"="My Markdown Link Checker"
LABEL "com.github.actions.description"="Check markdown files for broken links"
LABEL "com.github.actions.icon"="list"
LABEL "com.github.actions.color"="blue"
# renovate: datasource=npm depName=markdown-link-check versioning=npm
ENV MARKDOWNLINT_LINK_CHECK_VERSION="3.13.6"
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# kics-scan ignore-block
RUN set -eux && \
apk --update --no-cache add bash fd && \
npm install --global --production "markdown-link-check@v${MARKDOWNLINT_LINK_CHECK_VERSION}"
COPY entrypoint.sh /entrypoint.sh
USER nobody
WORKDIR /mnt
HEALTHCHECK NONE
ENTRYPOINT [ "/entrypoint.sh" ]