Merge pull request #733 from overleaf/csh-issue-2578-add-base-tag-arg

Try making the base image tag specifiable
This commit is contained in:
Christopher Hoskin 2020-05-06 14:21:23 +01:00 committed by GitHub
commit 6800b203a5
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,8 @@
# Overleaf Community Edition (overleaf/overleaf) # 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 ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee

View file

@ -8,7 +8,7 @@ build-base:
build-community: 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 PHONY: build-base build-community