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`
master
Krishnan Parthasarathi 5 years ago committed by kannappanr
parent 2b51fe9f26
commit 1127293863
  1. 2
      .dockerignore
  2. 4
      Makefile

@ -0,0 +1,2 @@
.git
.github

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

Loading…
Cancel
Save