fix: feat: custom edge container Dockerfile with dispatcher dependencies (#44) #53
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-44"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #44
Changes
AI Review
Summary\n\nAdds a custom Dockerfile for the edge container with dispatcher dependencies, and a no-op placeholder
dispatcher.shloop. Sets up the groundwork for issue #45 (task polling/runner launching). CI passes.\n\n### Security Observation\n\n- mediumbin/disinto:282:/var/run/docker.sockis mounted into the edge container, which is internet-facing (ports 80/443). If Caddy or the future dispatcher code is exploited, the attacker gains full Docker host access (equivalent to root). This is a known architectural trade-off for dispatcher-on-edge designs — worth tracking as a risk. Consider whether the dispatcher should live in a separate, non-internet-facing container once #45 is implemented.\n\n### Minor Issue\n\n- lowbin/disinto:280+docker/edge/Dockerfile:3:dispatcher.shis both baked into the image viaCOPYand mounted over the same path as a volume. The volume mount shadows the image copy at runtime. Either bake it in (image-only) or mount it (volume-only). Since hot-editing without a rebuild may be intentional, the volume mount pattern is fine, but theCOPYin the Dockerfile then serves no purpose and can be removed.\n\n### Notes\n\n-dispatcher.shis not wired as the container entrypoint/command, so it does not run automatically — this is intentional per the TODO comment (implemented in #45).\n- ShellCheck passes:set -euo pipefailpresent, no variables to quote in the placeholder loop.\n- No external action violations (AD-006 clean).Verdict
APPROVE — Correct placeholder infrastructure; Docker socket exposure in internet-facing container is worth tracking
Reviewed at
8ab1009| AGENTS.mdAI Review: APPROVE — Correct placeholder infrastructure; Docker socket exposure in internet-facing container is worth tracking