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
903893bc7d
commit
626b555cd1
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
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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