From ef64851f0d42f4b2d6011922b72604a2f698077d Mon Sep 17 00:00:00 2001 From: Alexis POUPELIN Date: Tue, 19 Sep 2023 10:49:45 +0200 Subject: [PATCH 1/2] Added ALPINE_VERSION ARG in Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ad668f5..75f7be5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ # syntax = docker/dockerfile:latest -FROM alpine:3.18.3 +ARG ALPINE_VERSION=3.18 + +FROM alpine:$ALPINE_VERSION RUN apk add --no-cache curl jq From 539139d2eee89d1c60db4aaefd8284db603aa937 Mon Sep 17 00:00:00 2001 From: Alexis Date: Mon, 2 Oct 2023 20:41:55 +0200 Subject: [PATCH 2/2] leleobhz suggestion of ALPINE_VERSION variable enclosure --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 75f7be5..8c2ff9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG ALPINE_VERSION=3.18 -FROM alpine:$ALPINE_VERSION +FROM alpine:${ALPINE_VERSION} RUN apk add --no-cache curl jq