Docker image for HTMLProofer.
Latest version: 4.0.0.rc3
This image does not try to do any fancy except being up-to-date.
docker run --rm -it \
-v $(pwd):/src \
quay.io/hugoguru/html-proofer:4.0.0.rc3 \
--allow-hash-href --check-html --empty-alt-ignore
validate:
image: quay.io/hugoguru/html-proofer:4.0.0.rc3
command: --allow-hash-href --check-html --empty-alt-ignore
volumes:
- .:/src
html proofer:
stage: test
image: quay.io/hugoguru/html-proofer:4.0.0.rc3-ci
script:
- |
htmlproofer \
--empty-alt-ignore \
--allow-hash-href \
--url-swap "https?\:\/\/(www\.example\.com):" \
dist
- Work directory:
/src