feat: v1.4.0 — prebuilt smart Docker image#2
Merged
notabotchef merged 1 commit intomainfrom Apr 12, 2026
Merged
Conversation
Eliminates 5 of 6 manual install steps: - Dockerfile: extends frdel/agent-zero-run, pre-installs x11vnc/novnc/xvfb/ xdotool/chromium + Python deps; uses bridge_doctor --quiet for HEALTHCHECK - docker-entrypoint-phantom.sh: detects user-mounted plugin vs fresh container, copies baked plugin only when not mounted; cp -rn + existence check (2 safety nets); chains to /exe/run_a0.sh; creates data/ dir structure idempotently - docker-compose.override.yml: drop-in merge; uses PHANTOM_NOVNC_PORT env var; mounts plugin dir so git pull workflow is preserved - .github/workflows/docker-publish.yml: multi-arch (amd64+arm64) buildx push to ghcr.io on v* tag and main branch; PR builds validate without pushing - .dockerignore: excludes data/, .git/, tests/, docs/ from baked image - README: Quick Start (Docker) section precedes Manual Install; repo URL references updated Nunezchef -> notabotchef; v1.4.0 changelog - docs/index.yaml: repo URL updated to notabotchef - plugin.yaml: version 1.4.0 NOTE: docker build smoke test deferred to user per runbook (manual_docker_verify_deferred_to_user: true) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 tasks
Owner
Author
|
Smart entrypoint logic looks solid — the cp -rn + bridge.py existence check means git pull users don't get their changes shadowed. Need to verify the multi-arch build on first tag push though. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 2 of setup-friction-fix: cut install time from ~15 min + 6 manual steps to <2 min + 1 step.
ghcr.io/notabotchef/phantom-bridge:latest. x11vnc, novnc, xvfb, xdotool, chromium, websockets, cryptography all pre-installed. Noapt-get, nopip install, noexecute.pystep.docker-entrypoint-phantom.sh) — detects whether the user has agit clone'd plugin mounted. Ifbridge.pyexists at start, leaves it alone (preservesgit pullworkflow). If not, copies from/opt/phantom_bridge_baked/viacp -rn(no overwrite, skipsdata/).docker-compose.override.yml) — drops next to the user's existingdocker-compose.yml; Compose auto-merges. Never mutates the original.PHANTOM_NOVNC_PORTenv var for port collision..github/workflows/docker-publish.ymlbuilds amd64 + arm64 via buildx onv*tag andmainbranch push. Publishes toghcr.iowithpackages: write.bridge_doctor --quietfrom v1.3.0 in theHEALTHCHECKdirective.Why
Discussion #146: "hard setup". Manual flow had too many failure surfaces (apt, pip, port mapping, profile sharing, execute.py) — each one bricks the install if anything's off.
Test plan
python -m pytest tests/test_probe_novnc.py— 7/7 pass (no regression from v1.3.0)bash -n installof all new shell files — cleandocker build -t pb-test .to verify image builds, smart entrypoint runs on a freshfrdel/agent-zero-run:latestcontainerv1.4.0tag push will exercisedocker-publish.ymlend-to-endFiles
Dockerfile— apt + pip layered, baked plugin at/opt/phantom_bridge_baked/, HEALTHCHECK usesbridge_doctor --quietdocker-entrypoint-phantom.sh—cp -rnsmart copy, chains to/exe/run_a0.shdocker-compose.override.yml— drop-in.dockerignore— excludesdata/,.git/,tests/.github/workflows/docker-publish.yml— multi-arch buildx + ghcr pushREADME.md— Quick Start sectionplugin.yaml— version 1.4.0Phase 2 of 3 in
.rune/plan-setup-friction-fix.md. Depends on #1 (v1.3.0). v1.4.1 (one-liner installer) follows.