From 06d6d18305160eee99d0b194f4da35cba28a212c Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Wed, 8 May 2019 15:42:22 +0200 Subject: [PATCH] Makefile: add docker images targets --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 95a0ad1..423091f 100644 --- a/Makefile +++ b/Makefile @@ -63,4 +63,12 @@ tools/bin/gocovmerge: GOBIN=$(PROJDIR)/tools/bin go install github.com/wadey/gocovmerge webbundle/bindata.go: tools/bin/go-bindata $(WEBDISTPATH) - ./tools/bin/go-bindata -o webbundle/bindata.go -tags webbundle -pkg webbundle -prefix "$(WEBDISTPATH)" -nocompress=true "$(WEBDISTPATH)/..." \ No newline at end of file + ./tools/bin/go-bindata -o webbundle/bindata.go -tags webbundle -pkg webbundle -prefix "$(WEBDISTPATH)" -nocompress=true "$(WEBDISTPATH)/..." + +.PHONY: docker-agola +docker-agola: + docker build --target agola . -t agola + +.PHONY: docker-agolademo +docker-agolademo: + docker build . -t agolademo \ No newline at end of file