Makefile: add docker images targets

This commit is contained in:
Simone Gotti 2019-05-08 15:42:22 +02:00
parent 41daf61da4
commit 06d6d18305
1 changed files with 9 additions and 1 deletions

View File

@ -64,3 +64,11 @@ tools/bin/gocovmerge:
webbundle/bindata.go: tools/bin/go-bindata $(WEBDISTPATH) 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)/..." ./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