pnpm-node (26)

Published 2026-07-27 00:07:57 +00:00 by Firq in CI-Docker-Images/pnpm-node

Installation

docker pull forgejo.neshweb.net/ci-docker-images/pnpm-node:26
sha256:ba5874ab6b4aaa5338bedd676b76d8a6dc894d42c905bfe09a51bf93cf64ddaf

Image layers

# debian.sh --arch 'amd64' out/ 'stable' '@1775433600'
ARG PNPM_VERSION
ARG PNPM_SHA256_AMD64
ARG PNPM_SHA256_ARM64
ARG TARGETARCH
ENV PNPM_HOME=/pnpm
ENV PATH=/pnpm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |4 PNPM_VERSION=11.17.0 PNPM_SHA256_AMD64=bdb1db01bf0f757495405a59a09c5c287f315889dc98d3b14bc374b9fe43a0bf PNPM_SHA256_ARM64=730d17de742a3efbb020ba91d7acfc0456c6ba6ad1cd8eb49f4c229fe9f504d3 TARGETARCH=amd64 /bin/sh -c set -eu; test -n "$PNPM_VERSION"; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl libatomic1; rm -rf /var/lib/apt/lists/*; case "$TARGETARCH" in amd64) arch=x64; expected_sha="$PNPM_SHA256_AMD64" ;; arm64) arch=arm64; expected_sha="$PNPM_SHA256_ARM64" ;; *) echo "unsupported architecture: $TARGETARCH" >&2; exit 1 ;; esac; test -n "$expected_sha" || { echo "missing PNPM_SHA256_* build-arg for $TARGETARCH" >&2; exit 1; }; mkdir -p /opt/pnpm "$PNPM_HOME/bin"; chmod -R a+rwX "$PNPM_HOME"; curl -fsSL --retry 3 --retry-delay 2 -o /tmp/pnpm.tgz "https://github.com/pnpm/pnpm/releases/download/v${PNPM_VERSION}/pnpm-linux-${arch}.tar.gz"; actual_sha="$(sha256sum /tmp/pnpm.tgz | awk '{print $1}')"; test "$actual_sha" = "$expected_sha" || { echo "sha256 mismatch for pnpm-linux-${arch}.tar.gz: expected $expected_sha, got $actual_sha" >&2; exit 1; }; tar -xzf /tmp/pnpm.tgz -C /opt/pnpm; rm /tmp/pnpm.tgz; ln -s /opt/pnpm/pnpm /usr/local/bin/pnpm; installed="$(pnpm --version)"; test "$installed" = "$PNPM_VERSION" || { echo "pnpm version mismatch: expected $PNPM_VERSION, got $installed" >&2; exit 1; } # buildkit
WORKDIR /app
LABEL authorname=firq
LABEL description=pnpm container with git and node available
ARG NODE_VERSION=26
ENV NODE_VERSION=26
RUN |1 NODE_VERSION=26 /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y git && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 NODE_VERSION=26 /bin/sh -c pnpm runtime set node ${NODE_VERSION} -g # buildkit

Labels

Key Value
authorname firq
description pnpm container with git and node available
Details
Container
2026-07-27 00:07:57 +00:00
60
OCI / Docker
linux/amd64
173 MiB
Versions (7) View all
26 2026-07-27
24 2026-07-27
22 2026-07-27
buildcache-26 2026-06-18
buildcache-24 2026-06-18