add makefile target to build docker image

This commit is contained in:
c9s 2020-12-15 17:53:11 +08:00
parent 728bf5fc81
commit 0bf0b37045

View File

@ -27,4 +27,7 @@ dist: bin-dir bbgo-linux bbgo-darwin
mkdir -p $(DIST_DIR) mkdir -p $(DIST_DIR)
tar -C $(BUILD_DIR) -cvzf $(DIST_DIR)/bbgo-$$(git describe --tags).tar.gz . tar -C $(BUILD_DIR) -cvzf $(DIST_DIR)/bbgo-$$(git describe --tags).tar.gz .
docker:
docker build --tag yoanlin/bbgo .
.PHONY: dist .PHONY: dist