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.
This commit is contained in:
parent
ed22f470f0
commit
06092ea634
|
|
@ -25,7 +25,7 @@ RUN apt-get update \
|
||||||
# Install MongoDB v5.0.14, Redis, NodeJS - Service Layer, PostgreSQL v13
|
# 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 - \
|
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 \
|
&& 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 \
|
&& 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 - \
|
&& curl --silent --show-error --location https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user