refactor(Dockerfile): parameterize versions

This commit is contained in:
Asif Bacchus 2022-02-19 07:27:01 -07:00
parent 6bf6c283d7
commit b9d8fa20c2

View File

@ -2,7 +2,13 @@
### mariadb running on Alpine Linux ### 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 # standardized labels
MAINTAINER Asif Bacchus <asif@asifbacchus.dev> MAINTAINER Asif Bacchus <asif@asifbacchus.dev>