On Tue, Apr 26, 2022 at 12:06 PM sebb <seb...@gmail.com> wrote: > > Just discovered that node.js does not yet support Ubuntu 22.04, so no > point looking at that version for now: > > https://github.com/nodesource/distributions/
n and nvm can be used to install other versions. Example: FROM ubuntu:22.04 ENV DEBIAN_FRONTEND="noninteractive". RUN apt-get update RUN apt-get install -y nodejs npm curl RUN npm install -g n RUN which node && node -v RUN n 18 RUN which node && node -v CMD ["/bin/bash"] - Sam Ruby