Marionete - shellcheck
At this moment, only
latest tag is available. The image is created from the centos:7 image.
shellcheck is a is a GPLv3 tool that gives warnings and suggestions for
sh shell scripts.
This is not an official image, you may find the official image in here.
shellcheck works on a per file basis. To use this image mount an host file as a data volume, you can use the
WORKDIR suggested, pointed to
/scripts/, to check a single file:
docker container run -v $PWD/test.sh:/scripts/test.sh marionete/shellcheck test.sh
In cases where more than one file is required, mount an host directory as a data volume and pass, for example:
docker container run -v $PWD:/scripts/ marionete/shellcheck $(ls -1)
For more advanced tweaks choose to create a Dockerfile from this image.