From ecb762d439e3f6573848bb00f67f635d8fa2778a Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 21 Jul 2020 22:47:43 +0800 Subject: [PATCH] =?UTF-8?q?[fix:3.12]=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E8=84=9A=E6=9C=ACMakefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c923d08 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ + +current_branch := $(shell git rev-parse --abbrev-ref HEAD) + +# Sources List: default / tencent / ustc / aliyun / huawei +build-arg := --build-arg apt_source=tencent +build-arg += --build-arg local_url=http://192.168.48.132/dist-files/ + +build: + docker build --force-rm $(build-arg) -t alpine:$(current_branch) .