From 9f0db532bb7b8311a29dcce75aef2ab31ed8043b Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Wed, 26 Jul 2023 07:43:14 +0200 Subject: [PATCH] Dockerfile ARG+ENV added --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index fc67127..fcb05ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ # https://endoflife.date/alpine 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 \ && chmod +x /usr/local/bin/hadolint \ No newline at end of file