Skip to content

Ubuntu24.04 Node22

Dockerfile
FROM ubuntu:24.04

RUN apt update

RUN apt install -y make curl

RUN DEBIAN_FRONTEND=noninteractive TZ=Asia/Shanghai apt-get -y install tzdata
ENV TZ=Asia/Shanghai

RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
RUN apt update
RUN apt install -y nodejs

RUN npm install npm@latest -g
RUN npm install -g bun

Released under the MIT License.