Sign inSign up

marionete/shellcheck

By marionete

Updated over 9 years ago

ShellCheck - A shell script static analysis tool

Image
0

174

marionete/shellcheck repository overview

Marionete - shellcheck

Supported tags

At this moment, only latest tag is available. The image is created from the centos:7 image.

shellcheck

shellcheck is a is a GPLv3 tool that gives warnings and suggestions for bash/sh shell scripts.

This is not an official image, you may find the official image in here.

Running Containers

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.

Tag summary

Content type

Image

Digest

Size

72 MB

Last updated

over 9 years ago

docker pull marionete/shellcheck