Sign inSign up

gounthar/node-riscv64

By gounthar

Updated 7 months ago

Unofficial Node.js Docker images for RISC-V 64-bit (riscv64) on Debian Trixie

Image
0

524

gounthar/node-riscv64 repository overview

Node.js for RISC-V 64-bit

Unofficial Node.js Docker images for RISC-V 64-bit (linux/riscv64) based on Debian Trixie.

These images fill the gap left by the official Node.js images, which don't yet include linux/riscv64 platform support.

Quick Start

docker run --platform linux/riscv64 gounthar/node-riscv64:latest node -e "console.log(process.arch)"
# riscv64

Tags

TagBase ImageDescription
<version>-trixiebuildpack-deps:trixieFull variant with build tools (gcc, g++, make)
<version>-trixie-slimdebian:trixie-slimMinimal variant, smaller image size
latestbuildpack-deps:trixieLatest release, full variant
slimdebian:trixie-slimLatest release, slim variant

Available Versions

  • Node.js 24.x (Current)
  • Node.js 22.x (LTS)

Check the Tags page for all available versions.

Usage

As a base image
FROM gounthar/node-riscv64:latest
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["node", "server.js"]
Interactive shell
docker run -it --platform linux/riscv64 gounthar/node-riscv64:latest

Why?

RISC-V is an open-source instruction set architecture gaining traction in embedded systems, SBCs, and servers. These images let you develop and test Node.js applications for riscv64 today, using QEMU emulation on any host or natively on RISC-V hardware.

Included Software

  • Node.js with npm
  • Yarn 1.22.x (Classic)
  • Full variant includes: gcc, g++, make, python3, and other build essentials

Source

Tag summary

Content type

Image

Digest

sha256:cd19cac09

Size

76.6 MB

Last updated

7 months ago

docker pull gounthar/node-riscv64:22.22.0-trixie-slim