mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
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:
1 parent
a1bf873584
commit
3ebfb06751
7 files changed
+21
-4
No files matched your search
@@ -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}}
|
||||
|
||||
Reference in new issue
Block a user