ci: hadolint bump #3

Merged
wanderer merged 2 commits from feature-hadolint-bump into master 2021-07-30 23:00:32 +02:00
2 changed files with 6 additions and 5 deletions

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

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