Self contained W3C/HTML5 markup validator instance.
1.3K
Dockerfile for the creation of a self contained W3C Markup validator (with HTML5 validation) instance for fast/offline validation of authored HTML documents.
Setup of such a configuration can be tricky and a little messy so having all this in an isolated and automated way seemed like a good idea.
To build the Docker image, run the following:
$ ./build.sh
This will take some time - performing the following tasks:
vnu.jar portable HTML5 validator jar.supervisord.That's the boring/messy stuff out of the way - your new Docker image should now be built.
Alternatively you can pull this image directly from Docker Hub:
$ docker pull magnetikonline/html5-validator
To start the image, run the following:
$ ./run.sh
This will start the image in a new backgrounded container, exposing the following ports:
80 (Apache2) presented to host on 8080.8888 (Validator.nu Java server) presented to host on 8888.Running the container on alternative local ports is controlled via docker run --publish arguments.
With this complete you should now be able to browse to http://localhost:8080/ and be presented with a working W3C validator instance.
Content type
Image
Digest
Size
340.5 MB
Last updated
about 8 years ago
docker pull magnetikonline/html5-validator