mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Quickly build dev docker images using 'make docker' (#6505)
This PR simplifies the process of developer build of local docker containers using `make docker`. You need to provide a TAG i.e ``` TAG=y4m4/minio:exp make docker ```
This commit is contained in:
committed by
kannappanr
parent
8cf7b88cc5
commit
ec2295c3dc
3
Makefile
3
Makefile
@@ -75,6 +75,9 @@ build: checks
|
||||
@echo "Building minio binary to './minio'"
|
||||
@CGO_ENABLED=0 go build -tags kqueue --ldflags $(BUILD_LDFLAGS) -o $(PWD)/minio
|
||||
|
||||
docker: build
|
||||
@docker build -t $(TAG) . -f Dockerfile.dev
|
||||
|
||||
pkg-add:
|
||||
@echo "Adding new package $(PKG)"
|
||||
@${GOPATH}/bin/govendor add $(PKG)
|
||||
|
||||
Reference in New Issue
Block a user