From 16fc7a888f426406be3dd77d89b62bdaffb5b9fb Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 21 Jul 2020 17:36:12 +0800 Subject: [PATCH] =?UTF-8?q?[feat:10]=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..e7685ea --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ + +current_branch := $(shell git rev-parse --abbrev-ref HEAD) + +# Sources List: 163 / debian / tencent / ustc / aliyun / huawei +build-arg := --build-arg apt_source=tencent +build-arg += --build-arg local_url=http://192.168.200.29/dist-files/ + +build: + docker build --force-rm $(build-arg) -t debian:$(current_branch) .