ci: bump hadolint from 1.23.0-8-gb01c5a9 to 2.6.0 (#3)
All checks were successful
continuous-integration/drone/push Build is passing

bump hadolint in drone from 1.23.0-8-gb01c5a9 to 2.6.0.

* 3f71770 hadolint: ad DL3059 <surtur>
* fa5c787 hadolint: bump to tag v2.6.0-alpine <surtur>

Reviewed-on: #3
This commit is contained in:
wanderer 2021-07-30 23:00:30 +02:00 committed by surtur
parent 639354d336
commit f737be21ab
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 6 additions and 5 deletions

@ -10,7 +10,7 @@ platform:
steps:
- name: hadolint
pull: always
image: hadolint/hadolint:v1.23.0-8-gb01c5a9-alpine
image: hadolint/hadolint:v2.6.0-alpine
commands:
- hadolint --version
- hadolint Dockerfile

@ -16,14 +16,15 @@ ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_ext
WORKDIR /tmp/
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
# ignore DL3059
RUN bsdtar xfv /tmp/hugo.tar.gz && rm -fv /tmp/hugo.tar.gz README.md LICENSE \
&& chmod +x /tmp/hugo \
&& mkdir -pv /usr/local/bin \
&& mv -v /tmp/hugo /usr/local/bin/ \
&& rm -rfv /tmp/*
RUN microdnf clean all -y
RUN rm -rf /usr/share/zoneinfo/* ; rm -rf /usr/include/* ; \
&& rm -rfv /tmp/* \
&& rm -rf /usr/share/zoneinfo/* ; rm -rf /usr/include/* ; \
find /. -name "*~" -type f -delete; \
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete
WORKDIR /