From b9d8fa20c256d618003c4e4c1db3a0d68d2c64a9 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 19 Feb 2022 07:27:01 -0700 Subject: [PATCH] refactor(Dockerfile): parameterize versions --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c9628e4..63f287e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,13 @@ ### mariadb running on Alpine Linux # -FROM alpine:3.13 +# version arguments +ARG ALPINE_VERSION="3.14" +ARG MARIADB_VERSION="10.5.13-r0" + +FROM alpine:${ALPINE_VERSION} +ARG ALPINE_VERSION +ARG MARIADB_VERSION # standardized labels MAINTAINER Asif Bacchus