瀏覽代碼

add deb and rpm targets to dockerfile

Signed-off-by: Jessica Frazelle <princess@docker.com>
Jessica Frazelle 10 年之前
父節點
當前提交
21a07a63c9
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Makefile

+ 5 - 0
Makefile

@@ -46,6 +46,11 @@ binary: build
 cross: build
 cross: build
 	$(DOCKER_RUN_DOCKER) hack/make.sh binary cross
 	$(DOCKER_RUN_DOCKER) hack/make.sh binary cross
 
 
+deb: build
+	$(DOCKER_RUN_DOCKER) hack/make.sh binary build-deb
+
+rpm: build
+	$(DOCKER_RUN_DOCKER) hack/make.sh binary build-rpm
 
 
 test: build
 test: build
 	$(DOCKER_RUN_DOCKER) hack/make.sh binary cross test-unit test-integration-cli test-docker-py
 	$(DOCKER_RUN_DOCKER) hack/make.sh binary cross test-unit test-integration-cli test-docker-py