Skip to content

Commit 5beb343

Browse files
chore(ci): remove the Sandbox Image workflow and document the local build
1 parent 78702da commit 5beb343

2 files changed

Lines changed: 11 additions & 91 deletions

File tree

‎.github/workflows/sandbox-image.yml‎

Lines changed: 0 additions & 90 deletions
This file was deleted.

‎docs/features/sandboxing.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,17 @@ Understand the trade-off before enabling it. `msb exec -e` is the only injection
154154

155155
## Sandbox Guest Image
156156

157-
`SANDBOX_IMAGE` defaults to `docker.io/cstechdev/ocm-sandbox:latest`, built from `Dockerfile.sandbox` in this repository and published for `linux/amd64` and `linux/arm64` by the `Sandbox Image` workflow.
157+
`SANDBOX_IMAGE` defaults to `docker.io/cstechdev/ocm-sandbox:latest`, built from `Dockerfile.sandbox` in this repository and published for `linux/amd64` and `linux/arm64` from a build host with `docker buildx`:
158+
159+
```bash
160+
docker buildx build --platform linux/amd64,linux/arm64 \
161+
-t docker.io/cstechdev/ocm-sandbox:latest \
162+
--build-arg PLAYWRIGHT_VERSION=1.56.0 \
163+
-f Dockerfile.sandbox --load .
164+
docker tag docker.io/cstechdev/ocm-sandbox:latest docker.io/cstechdev/ocm-sandbox:0.17.1
165+
docker push docker.io/cstechdev/ocm-sandbox:latest
166+
docker push docker.io/cstechdev/ocm-sandbox:0.17.1
167+
```
158168

159169
It is `node:24` (Debian 12, `buildpack-deps` based), so the compile toolchain is already present, plus the package managers and CLI tooling from the Manager image:
160170

0 commit comments

Comments
 (0)