diff --git a/Makefile b/Makefile index 26696e8..b263e9e 100644 --- a/Makefile +++ b/Makefile @@ -38,3 +38,9 @@ clean: lint: @golint $(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)