-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (16 loc) · 601 Bytes
/
Dockerfile
File metadata and controls
22 lines (16 loc) · 601 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM node:20-bullseye-slim
ENV MARKDOWNLINT_CLI_VERSION=v0.41.0
RUN npm install -g "markdownlint-cli@$MARKDOWNLINT_CLI_VERSION"
ENV REVIEWDOG_VERSION=v0.20.2
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
git \
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/fd59714416d6d9a1c0692d872e38e7f8448df4fc/install.sh \
| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION}
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD []