From 636231a7f32cf94203cf620f39f23e01428d6af7 Mon Sep 17 00:00:00 2001 From: "Stephen McQuay (smcquay)" Date: Fri, 9 Mar 2018 10:12:51 -0800 Subject: [PATCH] Adds docker building --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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)