[etherpad-web/oscp-backend] Switch back to node 12
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [etherpad-web/oscp-backend] Switch back to node 12
- Date: Wed, 13 May 2020 08:33:59 +0000 (UTC)
commit d97e94ad99e94ae6ec53a8982687c6daf1d76bb1
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed May 13 10:29:15 2020 +0200
Switch back to node 12
Dockerfile | 4 ++--
root/opt/etherpad/docker-entrypoint.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 02cf6f1..29c52b9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM centos/nodejs-10-centos7
+FROM centos/nodejs-12-centos7
ARG ETHERPAD_VERSION="1.8.3"
USER root
@@ -18,7 +18,7 @@ RUN curl -L -o /tmp/etherpad.tar https://github.com/ether/etherpad-lite/tarball
WORKDIR /opt/etherpad
# Install a few default plugins:
-SHELL ["/usr/bin/scl", "enable", "rh-nodejs10"]
+SHELL ["/usr/bin/scl", "enable", "rh-nodejs12"]
RUN npm install
RUN npm install ep_adminpads \
ep_align \
diff --git a/root/opt/etherpad/docker-entrypoint.sh b/root/opt/etherpad/docker-entrypoint.sh
index c4eb2fc..390b8c5 100755
--- a/root/opt/etherpad/docker-entrypoint.sh
+++ b/root/opt/etherpad/docker-entrypoint.sh
@@ -34,5 +34,5 @@ sed -i "s/DB_PORT/${DB_PORT}/" settings.json
sed -i "s/DB_USER/${DB_USER}/" settings.json
# Execute the etherpad provided startup script
-scl_source enable rh-nodejs10
+scl_source enable rh-nodejs12
./bin/run.sh $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]