Page MenuHomePhabricator

Upgrade nodejs
Closed, ResolvedPublic

Description

-# Setup nodesource, because node on Ubuntu is far too old to be useful
-ADD node/nodesource.gpg /etc/apt/trusted.gpg.d/nodesource.gpg
-ADD node/nodesource.list /etc/apt/sources.list.d/nodesource.list
-
 # Base building utilities that'll always be required, probably
 RUN apt-get update && \
     apt-get install --yes \
@@ -86,6 +81,9 @@ RUN apt-get install --yes \
         lsof \
         mariadb-client
 
+RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
+RUN apt-get install -y nodejs

And remove files in /images/singleuser/node