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

View File

@ -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

View File

@ -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 /