Add a few linter tools that need to be set up with system

This commit is contained in:
ViViDboarder 2019-10-28 18:19:18 -07:00
parent 6fc44b46ab
commit 93f8a6e230
2 changed files with 12 additions and 1 deletions

11
assets/default/bin/hadolint Executable file
View File

@ -0,0 +1,11 @@
#! /bin/bash
# Runs hadolint from a Docker image
version=v1.17.2
docker run -i --rm \
-v `pwd`:/data \
-w /data \
hadolint/hadolint:${version}-debian \
hadolint $*

View File

@ -1,7 +1,7 @@
#! /bin/bash
sudo_package_update
packages="tmux htop curl wget mercurial ctags tig pv jq fish mosh bash-completion doxygen"
packages="tmux htop curl wget mercurial ctags tig pv jq fish mosh bash-completion doxygen shellcheck"
# This now installs a lot of language specific stuff from python, gradle, to go.
# Should consider pulling these into different recipes that are dependent on the environment