fix(sandbox): pin the guest pnpm store via PNPM_CONFIG_STORE_DIR

pnpm 11 no longer reads npm_config_* env vars, so the guest image pins the
store to a container-internal path through PNPM_CONFIG_STORE_DIR; unpinned,
pnpm places the store on the bind-mounted project filesystem, polluting the
repository. Adds a regression test and bumps the ocm-sandbox digest to the
rebuilt image.
This commit is contained in:
Chris Scott committed 2026-08-30 10:15:17 -04:00
1 parent a1bf873584
commit 3ebfb06751
7 files changed
+21 -4

No files matched your search

+1 -1
View File
@@ -330,7 +330,7 @@ services:
cap_add:
- NET_ADMIN
environment:
- SANDBOX_IMAGE=${SANDBOX_IMAGE:-docker.io/cstechdev/ocm-sandbox@sha256:10e2ca3c93883441538b5f6008caee28ec88ec842cbdbdfed0b7a459d80f1583}
- SANDBOX_IMAGE=${SANDBOX_IMAGE:-docker.io/cstechdev/ocm-sandbox@sha256:edec46ffc48bd23fdd36b732492df7c5da5acd687ba0383e66ee28bc7c78770f}
- SANDBOX_MEMORY=${SANDBOX_MEMORY:-4G}
- SANDBOX_CPUS=${SANDBOX_CPUS:-2}
- SANDBOX_EXEC_USER=${SANDBOX_EXEC_USER:-${PUID:-1000}}