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
@@ -33,7 +33,7 @@ export const DEFAULTS = {
SANDBOX: {
MSB_PATH: 'msb',
IMAGE: 'docker.io/cstechdev/ocm-sandbox@sha256:10e2ca3c93883441538b5f6008caee28ec88ec842cbdbdfed0b7a459d80f1583',
IMAGE: 'docker.io/cstechdev/ocm-sandbox@sha256:edec46ffc48bd23fdd36b732492df7c5da5acd687ba0383e66ee28bc7c78770f',
MEMORY: '4G',
CPUS: 2,
EXEC_USER: 'node',