From 8380ecd53b6b4a6f9103c2eb776241a5f1ff8a0b Mon Sep 17 00:00:00 2001 From: Felddy Date: Fri, 7 Jun 2019 12:25:16 -0400 Subject: [PATCH] Expose ARGs for external configuration --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b4dd7f9..ba75023 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,15 @@ +ARG GIT_COMMIT=unspecified +ARG GIT_REMOTE=unspecified +ARG VERSION=unspecified + FROM python:3.7-alpine -ARG VERSION="0.0.1" + +ARG GIT_COMMIT +ARG GIT_REMOTE +ARG VERSION + +LABEL git_commit=${GIT_COMMIT} +LABEL git_remote=${GIT_REMOTE} LABEL maintainer="mark.feldhousen@trio.dhs.gov" LABEL vendor="Cyber and Infrastructure Security Agency" LABEL version=${VERSION}