allow for VERSION and REVISION to be passed in during docker builds

Signed-off-by: Alex Laties <agl@tumblr.com>
This commit is contained in:
Alex Laties 2019-06-26 17:50:29 -04:00
parent 90dfea7952
commit 92d213d2c1
2 changed files with 4 additions and 2 deletions

View file

@ -6,6 +6,8 @@ ENV DOCKER_BUILDTAGS include_oss include_gcs
ARG GOOS=linux
ARG GOARCH=amd64
ARG GOARM=6
ARG VERSION
ARG REVISION
RUN set -ex \
&& apk add --no-cache make git file