From 06092ea6347ce7bf63717af7f3a4fd64969c93ee Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Tue, 8 Aug 2023 05:53:17 +0530 Subject: [PATCH] chore: Update NodeJS in Docker image to v18 (#26065) We're currently running NodeJS v16, which is [end-of-support on 11-Sep-2023](https://endoflife.date/nodejs). This PR updates the NodeJS used as runtime, for RTS and `appsmithctl`, in the Appsmith Docker image. We do not update the build-time NodeJS version, needed to build the client code, and RTS. Depending on test results, we'll do it as part of the same PR, or a separate one. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 48977b0c82..260612a31e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get update \ # Install MongoDB v5.0.14, Redis, NodeJS - Service Layer, PostgreSQL v13 RUN curl --silent --show-error --location https://www.mongodb.org/static/pgp/server-5.0.asc | apt-key add - \ && echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-5.0.list \ - && curl --silent --show-error --location https://deb.nodesource.com/setup_16.x | bash - \ + && curl --silent --show-error --location https://deb.nodesource.com/setup_18.x | bash - \ && echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \ && curl --silent --show-error --location https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ && apt update \