2024-06-05 14:58:05 +00:00
|
|
|
FROM alpine:3.20
|
2019-02-26 13:50:07 +00:00
|
|
|
|
|
|
|
RUN apk --no-cache --no-progress add \
|
2022-04-15 14:16:08 +00:00
|
|
|
build-base \
|
2023-07-10 11:48:05 +00:00
|
|
|
gcompat \
|
2019-02-26 13:50:07 +00:00
|
|
|
libcurl \
|
2022-04-15 14:16:08 +00:00
|
|
|
libxml2-dev \
|
|
|
|
libxslt-dev \
|
2019-02-26 13:50:07 +00:00
|
|
|
ruby \
|
|
|
|
ruby-bigdecimal \
|
2022-04-15 14:16:08 +00:00
|
|
|
ruby-dev \
|
2019-02-26 13:50:07 +00:00
|
|
|
ruby-etc \
|
|
|
|
ruby-ffi \
|
|
|
|
ruby-json \
|
2022-04-15 14:16:08 +00:00
|
|
|
zlib-dev
|
2021-04-13 12:02:04 +00:00
|
|
|
|
2023-07-10 11:48:05 +00:00
|
|
|
RUN gem install nokogiri --version 1.15.3 --no-document -- --use-system-libraries
|
|
|
|
RUN gem install html-proofer --version 5.0.7 --no-document -- --use-system-libraries
|
2019-02-26 13:50:07 +00:00
|
|
|
|
|
|
|
# After Ruby, some NodeJS YAY!
|
|
|
|
RUN apk --no-cache --no-progress add \
|
|
|
|
git \
|
|
|
|
nodejs \
|
2019-12-09 14:52:04 +00:00
|
|
|
npm
|
|
|
|
|
|
|
|
RUN npm install --global \
|
2023-07-10 11:48:05 +00:00
|
|
|
markdownlint@0.29.0 \
|
|
|
|
markdownlint-cli@0.35.0
|
2019-02-26 13:50:07 +00:00
|
|
|
|
|
|
|
# Finally the shell tools we need for later
|
|
|
|
# tini helps to terminate properly all the parallelized tasks when sending CTRL-C
|
|
|
|
RUN apk --no-cache --no-progress add \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
tini
|
|
|
|
|
|
|
|
COPY ./scripts/verify.sh /verify.sh
|
|
|
|
COPY ./scripts/lint.sh /lint.sh
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
VOLUME ["/tmp","/app"]
|
|
|
|
|
|
|
|
ENTRYPOINT ["/sbin/tini","-g","sh"]
|