diff --git a/.drone.yml b/.drone.yml index f26e5e8..6f958a3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ platform: steps: - name: hadolint pull: always - image: hadolint/hadolint:v2.8.0-alpine + image: hadolint/hadolint:v2.9.3-alpine commands: - hadolint --version - hadolint Dockerfile diff --git a/Dockerfile b/Dockerfile index bf45bf3..f60893c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,8 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz /tmp/hugo.tar.gz WORKDIR /tmp/ +# DL3041 warning: Specify version with `dnf install -y -`. +# hadolint ignore=DL3041 RUN microdnf --refresh upgrade -y && microdnf install -y bsdtar git findutils \ --nodocs --setopt install_weak_deps=0 \ && microdnf clean all -y