fix: disallow versioning to be suspended with object lock (#9930)

This commit is contained in:
Harshavardhana
2020-06-28 08:15:15 -07:00
committed by GitHub
parent 28a1a17187
commit 4bba2cd034
2 changed files with 12 additions and 1 deletions

View File

@@ -60,7 +60,9 @@ build: checks
@echo "Building minio binary to './minio'"
@GO111MODULE=on CGO_ENABLED=0 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
docker: build
docker: checks
@echo "Building minio docker image '$(TAG)'"
@GOOS=linux GO111MODULE=on CGO_ENABLED=0 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
@docker build -t $(TAG) . -f Dockerfile.dev
# Builds minio and installs it to $GOPATH/bin.