diff --git a/Dockerfile b/Dockerfile index af9f056..be2206d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine3.14 +FROM node:18-bullseye-slim ENV MARKDOWNLINT_CLI_VERSION=v0.37.0 @@ -6,9 +6,15 @@ RUN npm install -g "markdownlint-cli@$MARKDOWNLINT_CLI_VERSION" ENV REVIEWDOG_VERSION=v0.15.0 +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/master/install.sh \ | sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION} -RUN apk --no-cache -U add git COPY entrypoint.sh /entrypoint.sh