Merge pull request #12603 from overleaf/ae-make-all

Add "all" target to server-ce Makefile

GitOrigin-RevId: 9ca8fac603e28793490cc9b8dc3f86b96719e520
This commit is contained in:
Alf Eaton 2023-04-18 09:24:07 +01:00 committed by Copybot
parent c91b092ba8
commit 51a068b707

View file

@ -6,6 +6,8 @@ export SHARELATEX_BASE_CACHE := $(shell echo $(SHARELATEX_BASE_TAG) | sed -E 's/
export MONOREPO_REVISION := $(shell git rev-parse HEAD) export MONOREPO_REVISION := $(shell git rev-parse HEAD)
MONOREPO_ROOT := ../ MONOREPO_ROOT := ../
all: build-base build-community
build-base: build-base:
cp .dockerignore $(MONOREPO_ROOT) cp .dockerignore $(MONOREPO_ROOT)
docker pull $(SHARELATEX_BASE_CACHE) || echo "nothing cached yet" docker pull $(SHARELATEX_BASE_CACHE) || echo "nothing cached yet"
@ -17,4 +19,4 @@ build-community:
docker build --build-arg SHARELATEX_BASE_TAG --build-arg MONOREPO_REVISION -f Dockerfile -t $(SHARELATEX_TAG) $(MONOREPO_ROOT) docker build --build-arg SHARELATEX_BASE_TAG --build-arg MONOREPO_REVISION -f Dockerfile -t $(SHARELATEX_TAG) $(MONOREPO_ROOT)
.PHONY: build-base build-community .PHONY: all build-base build-community