From e044622222e5b92421dae47b80146af3c3347e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 16 May 2017 17:22:28 +0100 Subject: [PATCH] let the user choose his go version --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6d284ce..2927518 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,9 @@ FROM openshift/base-centos7 # Yes, it's me MAINTAINER Nicolas Masse -# The Go version you would like to use -ENV GOLANG_VERSION 1.8.1 +# The Go version you would like to use (defaults to 1.8.1) +ARG GOLANG_VERSION +ENV GOLANG_VERSION ${GOLANG_VERSION:-1.8.1} LABEL io.k8s.description="Platform for building golang applications. Based on GO ${GOLANG_VERSION}." \ io.k8s.display-name="golang builder v${GOLANG_VERSION}" \