Sign inSign up

painless/html5validator

By painless

•Updated over 4 years ago

html5validator CLI in a Docker image

Image
1

1.3K

painless/html5validator repository overview

⁠html5validator

dockeri.co

MIT License GitHub issues GitHub PRs

Convenience wrapper for the html5validator⁠ Python package that can validate HTML, CSS and SVG files. Packs all required dependencies into a container image that you can use with your CI/CD pipeline.

⁠Supported Tags

  • latest
  • 0.4.2
  • 0.4.0

⁠Usage

Validate all HTML, CSS and SVG files in your current local directory and its subfolders:

docker run --rm -v $(pwd):/app:ro painless/html5validator

Validate your repository's HTML, CSS and SVG files, located in a html folder, with GitLab CI:

# .gitlab-ci.yml

html5validator:
  image: painless/html5validator
  script: html5validator --root html/ --also-check-css --also-check-svg --show-warnings

Obviously, the use is similar with other CI services.

⁠Development

Tag summary

Content type

Image

Digest

Size

225.7 MB

Last updated

over 4 years ago

docker pull painless/html5validator