Add travis ci, linter, merge shellcheck, fix some issues (#241)

* Quote all vars, remove useless echo/sub-shell, add shebands, fail on unset vars, enable pipefail, formatting

* Add CI including linting via hadolint nad shellcheck

* Update all base images to tag 3.9

* Switch to maintainer labels

* Quote vars

* Remove commented code

* Ignore if the folder exists
This commit is contained in:
Florian Kinder
2019-05-02 17:28:20 +02:00
committed by GitHub
parent e34180ca51
commit 605ca74c0e
9 changed files with 73 additions and 10 deletions

14
.hadolint.yaml Normal file
View File

@@ -0,0 +1,14 @@
ignored:
# ignore apt version pinning
- DL3008
# ignore pip version pinning
- DL3013
# ignore apk version pinning
- DL3018
# ignore pipefail cause Balena/resin.io images do not work with it
- DL4006
# ignore false positive regex
- SC1083
- SC2086
# ignore as need for debug
- SC2005