pnpm
بيئة تشغيل · Build tool · standard · v11.18.0
صورة أساس لـ Node مع pnpm مُثبّت مسبقًا عبر corepack، تُستخدم كمرحلة بناء لمشاريع pnpm. الإصدارات 10/11.
تقرير الأمان (Trivy)
تقرير الأمان (Trivy) · pnpm 11.17.0
الإصدارات المنشورة
1 وسمكل وسم هو فهرس متعدد المعماريات (amd64 + arm64) مثبّت بالبصمة. موسوم بالإصدار، وليس أبدًا :latest.
| الإصدار | الحجم | النشر | البصمة |
|---|---|---|---|
| 11.18.0الأحدث | 60.8 MB | 2026-07-30 | sha256:6651a33a5602… |
استخدمها كصورة أساس
أشِر إليها في سطر FROM داخل ملف Dockerfile. تعمل بدون صلاحيات الجذر، بنظام ملفات جذر للقراءة فقط، ومبنية لـ amd64 و arm64.
FROM ghcr.io/quenchworks/images/pnpm:11.18.0أو اسحبها مباشرة
docker pull ghcr.io/quenchworks/images/pnpm:11.18.0- خط الإصدار
- 11.18.0
- الخط الأحدث
- 11.18.0
- المعماريات
- amd64, arm64
- تعمل كـ
- nonroot (uid 1001)
- نظام الملفات الجذر
- للقراءة فقط
- الرخصة
- MIT
تحقّق من سلسلة التوريد
هذه الصورة موقّعة بـ cosign وتحمل قائمة مكوّنات SPDX SBOM وشهادة منشأ بناء SLSA على البصمة نفسها. تحقّق من الثلاثة جميعها قبل أن تبني عليها:
# 1. signature — built and signed by QuenchWorks CI
cosign verify ghcr.io/quenchworks/images/pnpm:11.18.0 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 2. SLSA build provenance — which workflow built it, from what
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/quenchworks/images/pnpm:11.18.0 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 3. SPDX SBOM — the package inventory
cosign verify-attestation --type https://spdx.dev/Document/v2.3 ghcr.io/quenchworks/images/pnpm:11.18.0 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comراجع دليل SBOM والمنشأ لقراءة قائمة المكوّنات واستخدام هذه الفحوص في التكامل المستمر.
أفضل ممارسة لملف Dockerfile لـ 11.18.0
pnpm leads: enabled here through corepack on the pnpm base, it resolves and locks the dependency set, builds, then a clean node base receives only the production node_modules and the built output.
# Build stage: pnpm resolves, locks, and builds (dev deps included here).FROM ghcr.io/quenchworks/images/pnpm:11.18.0 AS buildUSER rootWORKDIR /appENV PNPM_HOME=/tmp/pnpm
COPY package.json pnpm-lock.yaml ./RUN ["pnpm", "install", "--frozen-lockfile"]COPY . .RUN ["pnpm", "run", "build"]# Re-resolve to production-only for the runtime stage.RUN ["pnpm", "install", "--prod", "--frozen-lockfile"]
# Runtime stage: prod node_modules + built dist on a slim node base, nonroot.FROM ghcr.io/quenchworks/images/node:26.5.0 AS runtimeWORKDIR /appENV NODE_ENV=productionCOPY --from=build /app/node_modules ./node_modulesCOPY --from=build /app/dist ./distCOPY --from=build /app/package.json ./package.jsonUSER 1001EXPOSE 3000CMD ["node", "dist/server.js"]هذا الملف Dockerfile مثبّت على خط 11.18.0 . للاطّلاع على شرح سطرًا بسطر وعلى متغيّرات المنظومات (npm/Yarn، pip/uv/Poetry، Maven/Gradle)، راجع دليل ابنِ تطبيق Node.
المشروع المنبع: https://pnpm.io