mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[CE/SP] Update base image to noble-1.0.2 and node@22 (#25716)
* [CE/SP] Update base image to node:22 Also triggers a rebuild of the image to ensure all dependencies are up to date * Bump phusion image to noble-1.0.2 GitOrigin-RevId: 8dce9d3cc6e8df28fce7a15f2727e7bc4aa453fd
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Overleaf Base Image (sharelatex/sharelatex-base)
|
# Overleaf Base Image (sharelatex/sharelatex-base)
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
|
|
||||||
FROM phusion/baseimage:noble-1.0.0
|
FROM phusion/baseimage:noble-1.0.2
|
||||||
|
|
||||||
# Makes sure LuaTex cache is writable
|
# Makes sure LuaTex cache is writable
|
||||||
# -----------------------------------
|
# -----------------------------------
|
||||||
@@ -10,7 +10,7 @@ ENV TEXMFVAR=/var/lib/overleaf/tmp/texmf-var
|
|||||||
|
|
||||||
# Update to ensure dependencies are updated
|
# Update to ensure dependencies are updated
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
ENV REBUILT_AFTER="2025-03-27"
|
ENV REBUILT_AFTER="2025-05-19"
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
# --------------------
|
# --------------------
|
||||||
@@ -30,7 +30,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|||||||
# install Node.js https://github.com/nodesource/distributions#nodejs
|
# install Node.js https://github.com/nodesource/distributions#nodejs
|
||||||
&& mkdir -p /etc/apt/keyrings \
|
&& mkdir -p /etc/apt/keyrings \
|
||||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y nodejs \
|
&& apt-get install -y nodejs \
|
||||||
\
|
\
|
||||||
|
|||||||
Reference in New Issue
Block a user