Support multiple alpine versions in Dockerfile

Add an ARG to the Dockerfile to support passing in build-args when
running docker build to support different alpine base image versions.
This commit is contained in:
Matt Critchlow 2019-11-06 10:20:58 -08:00
parent 0f4bd837d0
commit 93c100c031
No known key found for this signature in database
GPG key ID: 5B86D84AB60CAB15

View file

@ -1,4 +1,5 @@
FROM alpine:latest
ARG ALPINE_VERSION=latest
FROM alpine:${ALPINE_VERSION}
LABEL maintaner="Bojan Cekrlic - https://github.com/bokysan/docker-postfix/"
# See README.md for details