Add a basic .dockerignore file to reduce docker context in make docker (#8282)

- Add useful default tag to dev docker image build using `make docker`
This commit is contained in:
Krishnan Parthasarathi
2019-09-20 16:19:56 -07:00
committed by kannappanr
parent 2b51fe9f26
commit 1127293863
2 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,9 @@ LDFLAGS := $(shell go run buildscripts/gen-ldflags.go)
GOARCH := $(shell go env GOARCH)
GOOS := $(shell go env GOOS)
TAG ?= $(USER)
VERSION ?= $(shell git describe --tags)
TAG ?= "minio/minio:$(VERSION)"
BUILD_LDFLAGS := '$(LDFLAGS)'
all: build