Adds docker building
This commit is contained in:
parent
0a1b6bbcb3
commit
636231a7f3
6
Makefile
6
Makefile
@ -38,3 +38,9 @@ clean:
|
|||||||
lint:
|
lint:
|
||||||
@golint $(shell go list mcquay.me/hw/...)
|
@golint $(shell go list mcquay.me/hw/...)
|
||||||
@go vet $(shell go list mcquay.me/hw/...)
|
@go vet $(shell go list mcquay.me/hw/...)
|
||||||
|
|
||||||
|
.PHONY: docker-build
|
||||||
|
docker-build: bin/hw bin/hwc bin/hwl
|
||||||
|
docker build -f cmd/hw/Dockerfile . -t smcquay/hw:$(VERSION)$(V_DIRTY)
|
||||||
|
docker build -f cmd/hwc/Dockerfile . -t smcquay/hwc:$(VERSION)$(V_DIRTY)
|
||||||
|
docker build -f cmd/hwl/Dockerfile . -t smcquay/hwl:$(VERSION)$(V_DIRTY)
|
||||||
|
Loading…
Reference in New Issue
Block a user