added hadolint-checks (#5)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/miniflux-filter#5 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
parent
dcfb45f30a
commit
97ee6ee4c5
2 changed files with 7 additions and 0 deletions
6
build.sh
6
build.sh
|
@ -11,6 +11,12 @@ if ! shellcheck ./filter.sh; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! docker run --rm -i ghcr.io/hadolint/hadolint < dockerfile; then
|
||||
echo "-----------------------------------"
|
||||
echo "warning: fix hadolint errors"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# pruefe ob kw gesetzt ist
|
||||
if [[ -z "$MF_DOCKERHUB_PASS" ]]; then
|
||||
# shellcheck disable=SC2016
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
FROM ubuntu:focal
|
||||
|
||||
# hadolint ignore=DL3008
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends bash curl ca-certificates jq \
|
||||
&& apt-get clean \
|
||||
|
|
Loading…
Reference in a new issue