[feat]修改docker build是的默认输出信息为plain,默认为tty

This commit is contained in:
2021-07-05 12:26:47 +08:00
parent 8a1f55b485
commit b94340296b
+2 -2
View File
@@ -1,4 +1,4 @@
# Ver: 1.10 by Endial Fang (endial@126.com)
# Ver: 1.11 by Endial Fang (endial@126.com)
#
# 当前 Docker 镜像的编译脚本
@@ -32,7 +32,7 @@ export DOCKER_SCAN_SUGGEST=false
build:
@echo "Build $(image_name):$(image_tag)"
@docker build --force-rm $(build-arg) -t $(image_name):$(image_tag) .
@docker build --progress plain --force-rm $(build-arg) -t $(image_name):$(image_tag) .
@echo "Add tag: $(image_name):latest"
@docker tag $(image_name):$(image_tag) $(image_name):latest
@echo "Build complete"