From 9a7ea39cc74a6f7de6f81d4255f75181a110eb4b Mon Sep 17 00:00:00 2001 From: Jingchao Date: Mon, 31 Jul 2023 01:34:36 +0800 Subject: [PATCH] feat: enable mirror arg when build --- Makefile | 3 +++ excalidraw-storage-backend | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index edc56b9..909c3ac 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,8 @@ PATCH_VERSION = 0 BUILD_VERSION = $(COMMIT) VERSION ?= v$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_VERSION)-$(BUILD_VERSION) +CHINA_MIRROR ?= false + # Support gsed on OSX (installed via brew), falling back to sed. On Linux # systems gsed won't be installed, so will use sed as expected. SED ?= $(shell which gsed 2>/dev/null || which sed) @@ -68,6 +70,7 @@ images: ## Build docker images docker build \ -t $${image} \ --build-arg COMMIT=$(COMMIT) \ + --build-arg CHINA_MIRROR=$(CHINA_MIRROR) \ --progress=plain \ -f ./$${target}/Dockerfile $${target}; \ done; \ diff --git a/excalidraw-storage-backend b/excalidraw-storage-backend index c74d041..e321930 160000 --- a/excalidraw-storage-backend +++ b/excalidraw-storage-backend @@ -1 +1 @@ -Subproject commit c74d0415e2e69a1e216088a0d9edd29bf16170bc +Subproject commit e3219306d1ef8db6981e4918d73a3c957c025340