mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Only pull cached base image for x86_64 (#17043)
GitOrigin-RevId: a45325ffece66288fc1d53e60622ad4ec432f53b
This commit is contained in:
parent
12326b420d
commit
29abca700c
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue