make lint
$ linkchecker http://web -r 3
Sitemap
$ linkchecker http://web --threads 2 --file-output sitemap -o none
"Warm caches"
docker run phundament/php-one:5.6 linkchecker -t 5 -r 1 http://www.my-app.com/
docker run phundament/php-one:5.6 linkchecker -t 4 -r 1 http://www.my-app.com/products
docker run phundament/php-one:5.6 linkchecker -t 2 -r 2 http://www.my-app.com/
docker run --rm magnetikonline/html5validator \
java -jar /root/build/validator.nu/vnu.jar \
URL
Run via docker-compose.yml
validator:
image: magnetikonline/html5validator
entrypoint: ["java", "-jar", "/root/build/validator.nu/vnu.jar"]
Index page
docker-compose run validator http://web/en
Login page
docker-compose run validator http://web/en
From bash in validator
docker-compose exec validator bash
$ java -jar validator.nu/vnu.jar
https://github.com/redcoolbeans/dockerlint
docker run -it --rm -v "$PWD/Dockerfile":/Dockerfile:ro redcoolbeans/dockerlint
https://github.com/projectatomic/dockerfile_lint
docker run -it --rm --privileged -v $PWD:/root/ projectatomic/dockerfile-lint dockerfile_lint -f Dockerfile
docker-acception