Skip to content

Commit 9848d04

Browse files
committed
refactor(build): migrate to shared image dockerfile
1 parent cf39f27 commit 9848d04

File tree

12 files changed

+26
-1110
lines changed

12 files changed

+26
-1110
lines changed

architecture/build-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The incremental deploy (`cluster-deploy-fast.sh`) fingerprints local Git changes
7474
| Changed files | Rebuild triggered |
7575
|---|---|
7676
| Cargo manifests, proto definitions, cross-build script | Gateway + supervisor |
77-
| `crates/openshell-server/*`, `deploy/docker/Dockerfile.gateway` | Gateway |
77+
| `crates/openshell-server/*`, `deploy/docker/Dockerfile.images` | Gateway |
7878
| `crates/openshell-sandbox/*`, `crates/openshell-policy/*` | Supervisor |
7979
| `deploy/helm/openshell/*` | Helm upgrade |
8080

crates/openshell-cli/src/doctor_llm_prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ If DNS is broken, all image pulls from the distribution registry will fail, as w
278278
| StatefulSet `0/0` replicas | StatefulSet scaled to zero (failed deploy, manual scale-down, or Helm misconfiguration) | `openshell doctor exec -- kubectl -n openshell scale statefulset openshell --replicas=1` |
279279
| Local mTLS files missing | Deploy was interrupted before credentials were persisted | Extract from cluster secret `openshell-client-tls` (Step 6) |
280280
| Container not found | Image not built | `mise run docker:build:cluster` (local, with `OPENSHELL_RUNTIME_BUNDLE_TARBALL` set) or re-deploy (remote, with `--runtime-bundle-tarball`) |
281-
| Local cluster image build now fails before Docker starts with runtime-bundle validation errors | Missing, malformed, wrong-arch, or unstaged `OPENSHELL_RUNTIME_BUNDLE_TARBALL` input for the controlled GPU runtime path | Re-run the cluster-image build with `OPENSHELL_RUNTIME_BUNDLE_TARBALL` pointing at a valid per-arch bundle tarball, and confirm `tasks/scripts/docker-build-cluster.sh` stages `deploy/docker/.build/runtime-bundle/<arch>/` successfully |
281+
| Local cluster image build now fails before Docker starts with runtime-bundle validation errors | Missing, malformed, wrong-arch, or unstaged `OPENSHELL_RUNTIME_BUNDLE_TARBALL` input for the controlled GPU runtime path | Re-run the cluster-image build with `OPENSHELL_RUNTIME_BUNDLE_TARBALL` pointing at a valid per-arch bundle tarball, and confirm `tasks/scripts/docker-build-image.sh cluster` stages `deploy/docker/.build/runtime-bundle/<arch>/` successfully for `deploy/docker/Dockerfile.images` |
282282
| Remote deploy now fails before Docker starts with runtime-bundle validation errors | `scripts/remote-deploy.sh` was run without `--runtime-bundle-tarball`, without `--remote-runtime-bundle-tarball` in `--skip-sync` mode, or the resolved tarball path is missing/invalid | Re-run `scripts/remote-deploy.sh` with `--runtime-bundle-tarball <local-tarball>` for sync-and-build deploys, or `--remote-runtime-bundle-tarball <remote-path> --skip-sync` when the tarball is already staged remotely |
283283
| Multi-arch cluster publish fails before Docker starts with missing runtime-bundle variables | One or both per-arch tarballs were not provided to `tasks/scripts/docker-publish-multiarch.sh` | Set `OPENSHELL_RUNTIME_BUNDLE_TARBALL_AMD64` and `OPENSHELL_RUNTIME_BUNDLE_TARBALL_ARM64` to valid per-arch tarballs, then re-run the multi-arch publish command |
284284
| Container exited, OOMKilled | Insufficient memory | Increase host memory or reduce workload |

deploy/docker/Dockerfile.cluster

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

0 commit comments

Comments
 (0)