Merge pull request #4734 from overleaf/jpa-server-ce-build

[misc] build the server-ce image from a local copybara synced repo

GitOrigin-RevId: 8e037668cdd2894e3fe909ec0da62f77e1f4c4d7
This commit is contained in:
Jakob Ackermann
2021-08-16 11:36:25 +02:00
committed by Copybot
parent a83be41adb
commit 2ce94153d4
5 changed files with 32 additions and 55 deletions

View File

@@ -4,9 +4,6 @@
FROM phusion/baseimage:0.11
ENV baseDir .
# Makes sure LuaTex cache is writable
# -----------------------------------
ENV TEXMFVAR=/var/lib/sharelatex/tmp/texmf-var
@@ -32,7 +29,7 @@ RUN apt-get update \
# Add envsubst
# ------------
ADD ./vendor/envsubst /usr/bin/envsubst
ADD server-ce/vendor/envsubst /usr/bin/envsubst
RUN chmod +x /usr/bin/envsubst
# Install TexLive