mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use variables for Makefile tagging
This commit is contained in:
parent
810a5163e5
commit
53f9071a1f
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -1,12 +1,14 @@
|
||||||
# Makefile
|
# Makefile
|
||||||
|
|
||||||
|
SHARELATEX_BASE_TAG := sharelatex/sharelatex-base
|
||||||
|
SHARELATEX_TAG := sharelatex/sharelatex
|
||||||
|
|
||||||
build-base:
|
build-base:
|
||||||
docker build -f Dockerfile-base -t sharelatex/sharelatex-base .
|
docker build -f Dockerfile-base -t $(SHARELATEX_BASE_TAG) .
|
||||||
|
|
||||||
|
|
||||||
build-community:
|
build-community:
|
||||||
docker build -f Dockerfile -t sharelatex/sharelatex .
|
docker build -f Dockerfile -t $(SHARELATEX_TAG) .
|
||||||
|
|
||||||
|
|
||||||
PHONY: build-base build-community
|
PHONY: build-base build-community
|
||||||
|
|
Loading…
Reference in a new issue