mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
commit
6800b203a5
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue