Dockerfile ARG+ENV added
Some checks failed
/ build (push) Failing after 3s

This commit is contained in:
Roger Sikorski 2023-07-26 07:43:14 +02:00
parent 471973e024
commit 9f0db532bb
Signed by: RogerSik
GPG Key ID: 207958C85208EAC4

View File

@ -1,6 +1,8 @@
# https://endoflife.date/alpine # https://endoflife.date/alpine
FROM alpine:3.18 FROM alpine:3.18
ARG HADOLINT_VERSION
ENV HADOLINT_VERSION ${HADOLINT_VERSION}
RUN wget -nv https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 -O /usr/local/bin/hadolint \ RUN wget -nv https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 -O /usr/local/bin/hadolint \
&& chmod +x /usr/local/bin/hadolint && chmod +x /usr/local/bin/hadolint