install nodejs and npm

This commit is contained in:
2025-09-25 19:47:27 +02:00
parent 31b6f8633c
commit c4820e8035

View File

@@ -1,6 +1,6 @@
FROM debian:latest FROM debian:latest
RUN apt update -y && apt upgrade -y && apt install unzip curl xz-utils -y RUN apt update -y && apt upgrade -y && apt install unzip curl xz-utils nodejs npm -y
RUN cd /root && \ RUN cd /root && \
curl -L -o xpack-riscv-toolchain.tar.gz "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-3/xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64.tar.gz" && \ curl -L -o xpack-riscv-toolchain.tar.gz "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-3/xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64.tar.gz" && \