also build ci

This commit is contained in:
Simon Aronsson 2019-04-04 22:38:01 +02:00
parent b82cc6c4be
commit 83ac2c880f
3 changed files with 40 additions and 23 deletions

View file

@ -1,5 +1,4 @@
FROM golang:1.7.4
MAINTAINER Fabrizio Steiner <stffabi@users.noreply.github.com>
ARG BUILD_DATE
ARG VCS_REF
@ -11,18 +10,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.version="$VERSION" \
org.label-schema.schema-version="1.0"
ARG glide=0.12.3
ARG goreleaser=0.59.0
ARG docker=17.05.0-ce
# Install glide binary
RUN curl --silent --show-error --fail --location \
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
"https://github.com/Masterminds/glide/releases/download/v${glide}/glide-v${glide}-linux-amd64.tar.gz" \
| tar --no-same-owner -xz linux-amd64/glide -O > /usr/bin/glide \
&& chmod 0755 /usr/bin/glide \
&& /usr/bin/glide -v
# Install goreleaser binary
RUN curl --silent --show-error --fail --location \
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \