support/docker: add shellcheck

Allow developers to run check-package for init scripts, that call
shellcheck, without having to install the tool.

Since the docker have a fixed version of the tool, there will be no
difference between runs in different machines.

One can call:
$ utils/docker-run utils/check-package package/package/S*
$ utils/docker-run shellcheck package/package/S*

This change also allows to eventually run check-package for init scripts
in the GitLab CI.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Acked-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022.02.x
Ricardo Martincoski 2021-12-26 15:49:18 -03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent d020368eea
commit 236e2343f3
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ RUN apt-get install -y --no-install-recommends \
qemu-system-arm \
qemu-system-x86 \
rsync \
shellcheck \
subversion \
unzip \
wget \