From 74fda793ec8c4cc71daae8053b09486795ebb371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=20Gl=C3=A4=C3=9F-St=C3=B6cker?= Date: Thu, 15 Apr 2021 12:46:48 +0200 Subject: [PATCH] clone the release branch, not the master/dev branch of the upstream repo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 44195b2..9e261b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV GO111MODULE on RUN \ apk add --no-cache git && \ - git clone https://github.com/minio/minio && cd minio && \ + git clone -b release https://github.com/minio/minio && cd minio && \ git checkout master && go build -v -ldflags "$(go run buildscripts/gen-ldflags.go)" FROM alpine:3.12