Browse Source

let the user choose his go version

master
Nicolas Massé 9 years ago
parent
commit
e044622222
  1. 5
      Dockerfile

5
Dockerfile

@ -5,8 +5,9 @@ FROM openshift/base-centos7
# Yes, it's me # Yes, it's me
MAINTAINER Nicolas Masse <nicolas.masse@itix.fr> MAINTAINER Nicolas Masse <nicolas.masse@itix.fr>
# The Go version you would like to use # The Go version you would like to use (defaults to 1.8.1)
ENV GOLANG_VERSION 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}." \ LABEL io.k8s.description="Platform for building golang applications. Based on GO ${GOLANG_VERSION}." \
io.k8s.display-name="golang builder v${GOLANG_VERSION}" \ io.k8s.display-name="golang builder v${GOLANG_VERSION}" \

Loading…
Cancel
Save