









@@ -72,8 +72,7 @@ RUN --mount=type=cache,id=openclaw-pnpm-store,target=/root/.local/share/pnpm/sto
7272 NODE_OPTIONS=--max-old-space-size=2048 pnpm install --frozen-lockfile \
7373 --config.supportedArchitectures.os=linux \
7474 --config.supportedArchitectures.cpu="$(node -p 'process.arch')" \
75- --config.supportedArchitectures.libc=glibc && \
76- pnpm store add source-map@0.6.1
75+ --config.supportedArchitectures.libc=glibc
77767877# pnpm v10+ may append peer-resolution hashes to virtual-store folder names; do not hardcode `.pnpm/...`
7978# paths. Matrix's native downloader can hit transient release CDN errors while
@@ -122,7 +121,10 @@ RUN pnpm_config_verify_deps_before_run=false pnpm qa:lab:build
122121FROM build AS runtime-assets
123122ARG OPENCLAW_EXTENSIONS
124123ARG OPENCLAW_BUNDLED_PLUGIN_DIR
124+# BuildKit cache mounts are not part of cached layers; seed prune-only
125+# tarballs in the same step that runs offline prune.
125126RUN --mount=type=cache,id=openclaw-pnpm-store,target=/root/.local/share/pnpm/store,sharing=locked \
127+ pnpm store add source-map@0.6.1 && \
126128 CI=true pnpm prune --prod \
127129 --config.offline=true \
128130 --config.supportedArchitectures.os=linux \
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。