From 9f0b4b7df9788cc65455f0978cb440ceb52540db Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 17 Aug 2023 10:48:17 -0700 Subject: [PATCH] Upgrade Etherpad to 1.9.2 The day after we upgrade to 1.9.1 we've got a new release. That is just how it goes sometimes. The changelog can be found here: https://github.com/ether/etherpad-lite/blob/v1.9.2/CHANGELOG.md#192 Should be fairly straightforward to update to. I did make a minor change to set a production build flag for the installDeps.sh script (which lives upstream) so that we'll get a more production quality build in the end. The updates to installDeps.sh happened in the 1.9.2 release so there is no need to do this outside of the 1.9.2 upgrade. Change-Id: Ia22ebd3c01393af5a7e593ceb64fc7c63ad46ffa --- docker/etherpad/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/etherpad/Dockerfile b/docker/etherpad/Dockerfile index 75e481b4e4..ec046ff05d 100644 --- a/docker/etherpad/Dockerfile +++ b/docker/etherpad/Dockerfile @@ -60,6 +60,7 @@ ARG INSTALL_SOFFICE= # leaner (development dependencies are not installed) and runs faster (among # other things, assets are minified & compressed). ENV NODE_ENV=production +ENV ETHERPAD_PRODUCTION=true # Follow the principle of least privilege: run as unprivileged user. # @@ -100,7 +101,7 @@ USER etherpad RUN git clone https://github.com/ether/etherpad-lite ${EP_DIR} WORKDIR "${EP_DIR}" -RUN git checkout v1.9.1 +RUN git checkout v1.9.2 # Plugins must be installed before installing Etherpad's dependencies, otherwise # npm will try to hoist common dependencies by removing them from