clone the release branch, not the master/dev branch of the upstream repo

This commit is contained in:
Micha Gläß-Stöcker 2021-04-15 12:46:48 +02:00
parent 89ddb40b07
commit 74fda793ec

View file

@ -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