Merge pull request #20551 from overleaf/jpa-docker-cleanup

[misc] fix deprecated syntax for ENV entries in all the Dockerfiles

GitOrigin-RevId: 1def5a4666435e7649b8b09557a445d016f3ef5a
This commit is contained in:
Jakob Ackermann 2024-09-23 12:48:43 +02:00 committed by Copybot
parent bb12dd33ee
commit 18a052f224
2 changed files with 12 additions and 12 deletions

View file

@ -88,28 +88,28 @@ COPY server-ce/config/latexmkrc /usr/local/share/latexmk/LatexMk
# File that controls open|closed status of the site # File that controls open|closed status of the site
# ------------------------------------------------- # -------------------------------------------------
ENV SITE_MAINTENANCE_FILE "/etc/overleaf/site_status" ENV SITE_MAINTENANCE_FILE="/etc/overleaf/site_status"
RUN touch $SITE_MAINTENANCE_FILE RUN touch $SITE_MAINTENANCE_FILE
# Set Environment Variables # Set Environment Variables
# -------------------------------- # --------------------------------
ENV OVERLEAF_CONFIG /etc/overleaf/settings.js ENV OVERLEAF_CONFIG=/etc/overleaf/settings.js
ENV WEB_API_USER "overleaf" ENV WEB_API_USER="overleaf"
ENV ADMIN_PRIVILEGE_AVAILABLE "true" ENV ADMIN_PRIVILEGE_AVAILABLE="true"
ENV OVERLEAF_APP_NAME "Overleaf Community Edition" ENV OVERLEAF_APP_NAME="Overleaf Community Edition"
ENV OPTIMISE_PDF "true" ENV OPTIMISE_PDF="true"
# Phusion Image timeouts before sending SIGKILL to processes # Phusion Image timeouts before sending SIGKILL to processes
# ---------------------------------------------------------- # ----------------------------------------------------------
ENV KILL_PROCESS_TIMEOUT 55 ENV KILL_PROCESS_TIMEOUT=55
ENV KILL_ALL_PROCESSES_TIMEOUT 55 ENV KILL_ALL_PROCESSES_TIMEOUT=55
ENV GRACEFUL_SHUTDOWN_DELAY_SECONDS 1 ENV GRACEFUL_SHUTDOWN_DELAY_SECONDS=1
ENV NODE_ENV "production" ENV NODE_ENV="production"
ENV LOG_LEVEL "info" ENV LOG_LEVEL="info"
EXPOSE 80 EXPOSE 80

View file

@ -2,4 +2,4 @@ FROM sharelatex/sharelatex:3.2.1
# Fixes compilation errors in embedded compiles # Fixes compilation errors in embedded compiles
# https://github.com/overleaf/overleaf/issues/1044 # https://github.com/overleaf/overleaf/issues/1044
ENV PATH "${PATH}:/usr/local/texlive/2022/bin/x86_64-linux" ENV PATH="${PATH}:/usr/local/texlive/2022/bin/x86_64-linux"