Merge pull request #724 from overleaf/csh-issue-2578-server-pro-cloud-build

Use variables for Makefile tagging
This commit is contained in:
Christopher Hoskin 2020-04-16 09:59:06 +01:00 committed by GitHub
commit 903893bc7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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