Try making the base image tag specifiable

This commit is contained in:
Christopher Hoskin 2020-05-06 11:59:42 +01:00
parent 903893bc7d
commit 626b555cd1
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,8 @@
# Overleaf Community Edition (overleaf/overleaf)
# ---------------------------------------------
FROM sharelatex/sharelatex-base:latest
ARG SHARELATEX_BASE_TAG=sharelatex/sharelatex-base:latest
FROM $SHARELATEX_BASE_TAG
ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee

View file

@ -8,7 +8,7 @@ build-base:
build-community:
docker build -f Dockerfile -t $(SHARELATEX_TAG) .
docker build --build-arg SHARELATEX_BASE_TAG=$(SHARELATEX_BASE_TAG) -f Dockerfile -t $(SHARELATEX_TAG) .
PHONY: build-base build-community