diff --git a/Makefile b/Makefile index 55ec2d4..629da7b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Ver: 1.9 by Endial Fang (endial@126.com) +# Ver: 1.10 by Endial Fang (endial@126.com) # # 当前 Docker 镜像的编译脚本 @@ -27,6 +27,9 @@ build-arg+=--build-arg local_url=http://$(local_ip)/dist-files .PHONY: build clean clearclean upgrade +# 屏蔽 "Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them" +export DOCKER_SCAN_SUGGEST=false + build: @echo "Build $(image_name):$(image_tag)" @docker build --force-rm $(build-arg) -t $(image_name):$(image_tag) .