summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-30 18:23:18 +1000
committerJames Mills <prologic@shortcircuit.net.au>2020-03-30 18:23:18 +1000
commit7c919b5f9b85a9f1f708884565f12b83ad4038e0 (patch)
tree99a7ae3b3ebc55f3fe9d6d216320c2850d98c4b1
parent107110183a036c7c9b0333cdc9b4c4a81916e321 (diff)
Add image target to Makefilev1.1.9
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 18599ce..890beba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: dev setup build install test release clean
+.PHONY: dev setup build install image test release clean
CGO_ENABLED=0
VERSION=$(shell git describe --abbrev=0 --tags)
@@ -23,6 +23,9 @@ build: clean
install: build
@go install
+image:
+ @docker build -t prologic/tube .
+
test: install
@go test