okay, go install is neccessary in this setup

This commit is contained in:
Micha Gläß-Stöcker 2021-04-15 13:21:38 +02:00
parent 40279c8377
commit 7365715b11

View file

@ -9,7 +9,7 @@ ENV GO111MODULE on
RUN \ RUN \
apk add --no-cache git && \ apk add --no-cache git && \
git clone -b release https://github.com/minio/minio && cd minio && \ git clone -b release https://github.com/minio/minio && cd minio && \
git checkout release && go build -v -ldflags "$(go run buildscripts/gen-ldflags.go)" git checkout release && go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)"
FROM alpine:3.12 FROM alpine:3.12