armbian-next: tooling: introduce helper/downloader for shellcheck; include in Dockerfile

This commit is contained in:
Ricardo Pardini
2023-02-02 14:44:44 +01:00
parent 871f3cfcee
commit f0d3ea7961
3 changed files with 100 additions and 2 deletions

View File

@@ -27,9 +27,9 @@ function cli_requirements_run() {
# During the Dockerfile build, we want to pre-download ORAS/shellcheck/shfmt so it's included in the image.
# We need to change the deployment directory to something not in ./cache, so it's baked into the image.
deploy_to_non_cache_dir="yes" run_tool_oras # download-only, to non-cache dir.
deploy_to_non_cache_dir="yes" run_tool_oras # download-only, to non-cache dir.
deploy_to_non_cache_dir="yes" run_tool_shellcheck # download-only, to non-cache dir.
# @TODO: shellcheck
# @TODO: shfmt
fi