Files
atlantis/.github/website_link_checker/Dockerfile
Rui Chen abcaf2e876 Revert "docker: update ci-link-checker"
This reverts commit 983b3dcadf.

relates to 2536e1da14
2022-01-11 18:17:02 -05:00

17 lines
744 B
Docker

# This Dockerfile builds runatlantis/ci-link-checker.
# It is used in CircleCI to check if the website has any broken links.
FROM node:14
ENV DOCKERIZE_VERSION v0.6.1
# Muffet is used to check for broken links.
COPY --from=raviqqe/muffet:2.4.0 muffet /usr/local/bin/muffet
# http-server is used to serve the website locally as muffet checks it.
RUN yarn global add http-server
# Dockerize is used to wait until the server is up and running before running
# muffet.
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz