Docker Pulls

Docker shellcheck

ShellCheck, a static analysis tool for shell scripts https://www.shellcheck.net

https://github.com/koalaman/shellcheck

Repository description

This repository contain the Dockerfile to add shellcheck in bitbucket pipeline CI process

Docker build

1. Build docker container

$ docker build --rm -t local/shellcheck .

2. Usage in bitbucket-pipelines

    shellcheck:
      - step:
          name: Run ShellCheck linter
          image: scorpio2002/shellcheck
          script:
            - shellcheck --version
            - find . -name "*.sh" | xargs shellcheck

CD

Dockerhub integrated with this repo and triggers automatically from master branch with creating image scorpio2002/shellcheck:latest