static_code_analysis.sh: use shellcheck/flake8 from chroot
Many times the versions of the tools installed locally are different then those used in the CI.
This will always use the versions from Alpine and it also remove the dependency to have the tools installed locally.
I've also fixed the gitlab-ci scripts and changed to not install the shellcheck/flake8 packages
Edited by Administrator