mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Try making the base image tag specifiable
This commit is contained in:
parent
932b7d2a74
commit
0bcb552f6f
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue