mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #12603 from overleaf/ae-make-all
Add "all" target to server-ce Makefile GitOrigin-RevId: 9ca8fac603e28793490cc9b8dc3f86b96719e520
This commit is contained in:
parent
c91b092ba8
commit
51a068b707
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue