From 2378b2e3a78a6f5692414453213de3af09578de0 Mon Sep 17 00:00:00 2001 From: Carlos Roman Date: Fri, 10 Feb 2017 17:06:07 +0000 Subject: [PATCH] Fixed build that fail due to 301s from 'gopkg.in' --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4faf0be..bfc84ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ WORKDIR "$GOPATH/src/generic-rw-s3" RUN apk --no-cache --virtual .build-dependencies add git \ && apk --no-cache --upgrade add ca-certificates \ && update-ca-certificates --fresh \ + && git config --global http.https://gopkg.in.followRedirects true \ && cd $GOPATH/src/generic-rw-s3 \ && BUILDINFO_PACKAGE="github.com/Financial-Times/service-status-go/buildinfo." \ && VERSION="version=$(git describe --tag --always 2> /dev/null)" \