mirror of
https://github.com/minio/minio.git
synced 2025-04-04 20:00:31 -04:00
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:
parent
2b51fe9f26
commit
1127293863
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.git
|
||||||
|
.github
|
4
Makefile
4
Makefile
@ -5,7 +5,9 @@ LDFLAGS := $(shell go run buildscripts/gen-ldflags.go)
|
|||||||
GOARCH := $(shell go env GOARCH)
|
GOARCH := $(shell go env GOARCH)
|
||||||
GOOS := $(shell go env GOOS)
|
GOOS := $(shell go env GOOS)
|
||||||
|
|
||||||
TAG ?= $(USER)
|
VERSION ?= $(shell git describe --tags)
|
||||||
|
TAG ?= "minio/minio:$(VERSION)"
|
||||||
|
|
||||||
BUILD_LDFLAGS := '$(LDFLAGS)'
|
BUILD_LDFLAGS := '$(LDFLAGS)'
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user