Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch switches the shellcheck image to use the official image from Docker Hub. In order to keep the image minimal, the validate/shellcheck script is called directly (so that `make` is not needed), and is now using `/bin/sh` instead of `bash` (which wasn't needed to perform the checks). Note that this does not yet update shellcheck to the latest version, because checks fail with the v0.5 version. Instead, the latest v0.4.x version is used, which is roughly the same version as was installed in the image before this change; ``` docker run --rm docker-cli-shell-validate shellcheck --version ShellCheck - shell script analysis tool version: 0.4.4 license: GNU General Public License, version 3 website: http://www.shellcheck.net ``` Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information