ci: bump hadolint to v2.9.3-alpine
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-03-26 14:42:37 +01:00
parent 5397b679aa
commit 8704e0f723
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 3 additions and 1 deletions

@ -10,7 +10,7 @@ platform:
steps: steps:
- name: hadolint - name: hadolint
pull: always pull: always
image: hadolint/hadolint:v2.8.0-alpine image: hadolint/hadolint:v2.9.3-alpine
commands: commands:
- hadolint --version - hadolint --version
- hadolint Dockerfile - hadolint 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 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/ WORKDIR /tmp/
# DL3041 warning: Specify version with `dnf install -y <package>-<version>`.
# hadolint ignore=DL3041
RUN microdnf --refresh upgrade -y && microdnf install -y bsdtar git findutils \ RUN microdnf --refresh upgrade -y && microdnf install -y bsdtar git findutils \
--nodocs --setopt install_weak_deps=0 \ --nodocs --setopt install_weak_deps=0 \
&& microdnf clean all -y && microdnf clean all -y