Эх сурвалжийг харах

Only pull cached base image for x86_64 (#17043)

GitOrigin-RevId: a45325ffece66288fc1d53e60622ad4ec432f53b
Alf Eaton 2 жил өмнө
parent
commit
29abca700c
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      server-ce/Makefile

+ 2 - 0
server-ce/Makefile

@@ -10,7 +10,9 @@ all: build-base build-community
 
 build-base:
 	cp .dockerignore $(MONOREPO_ROOT)
+ifeq ($(shell uname -m),x86_64)
 	docker pull $(OVERLEAF_BASE_CACHE) || echo "nothing cached yet"
+endif
 	docker build -f Dockerfile-base --pull --cache-from $(OVERLEAF_BASE_CACHE) -t $(OVERLEAF_BASE_TAG) $(MONOREPO_ROOT)