This is a docker image that comes preconfigured with a linkchecker tool. Documentation abot the tool can be found here and the source code can be found here here
The image is configured to work with the Docker plugin for Jenkins CI. That is when no commands are given when you create a container from the image, it starts an SSH server, which Jenkins can use to create and connect a slave.
The repo contains a linkchecker
as a submodule and it is copied into the docker image and hereafter installed.
git clone <repo> --recursive
cd linkchecker
git checkout <sha1|branch|tag>
that you desirecd -
git add linkchecker
- .. build the image
The image is being auto-tagged using this wrapper script
docker_build.sh
- Non-interactive:
./test.sh <IMAGE ID>|<repo>:<tag>
- Interactive:
test.sh
and you will be prompted for input (IMAGE ID is required)
I've included a script as an example on how to use the script, run.sh
or linkchecker_cmd.sh