Node 24 Alpine with Yarn 4 and build tools for fast, minimal, production-ready builds build-base
10K+
This image is a lightweight, production-ready Node.js 24 environment based on Alpine Linux, preconfigured with:
Yarn 4 (via Corepack)
Essential build tools: libc6-compat, build-base, and python3
It is designed for building modern JavaScript applications, including:
Next.js
React
Yarn PnP-based projects
Any Node.js 24 project using Yarn 4 workspaces or zero-install
š§ Features ā Node.js 24 (Alpine)
ā Yarn 4 enabled via Corepack
ā Pre-installed build dependencies for compiling native packages
ā Lightweight and fast ā ideal for CI/CD and Docker multi-stage builds
ā Consistent and reproducible environment
š Use Cases As a builder stage in multi-stage Dockerfiles
In GitLab CI/CD pipelines to avoid repeated installs
For bootstrapping and building Yarn 4 monorepos or PnP projects
FROM bhojkamal/node24-yarn4-alpine AS builder
WORKDIR /app
COPY package.json yarn.lock .yarnrc.yml ./
COPY .yarn .yarn
RUN yarn install --immutable
š¦ Tags latest ā Node 24 with Yarn 4.9.2 and Alpine
Future tags may include specific versions like 24.0-yarn4.9-alpine
Content type
Image
Digest
sha256:fede1d2bfā¦
Size
56.4 MB
Last updated
about 1 year ago
docker pull bhojkamal/node24-yarn4-alpine