feat: custom edge container Dockerfile with dispatcher dependencies
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

- Create docker/edge/Dockerfile with bash, jq, curl, git, docker-cli
- Create docker/edge/dispatcher.sh as placeholder no-op loop
- Update edge service to build from ./docker/edge instead of caddy:alpine image
- Mount Docker socket into edge container for dispatcher access
- Mount dispatcher.sh as read-only volume
This commit is contained in:
Agent 2026-03-29 08:57:20 +00:00
parent 6b47f949dd
commit 8ab1009b15
3 changed files with 18 additions and 1 deletions

3
docker/edge/Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM caddy:alpine
RUN apk add --no-cache bash jq curl git docker-cli
COPY dispatcher.sh /usr/local/bin/dispatcher.sh

12
docker/edge/dispatcher.sh Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
# dispatcher.sh — Edge task dispatcher placeholder
#
# TODO: Implement task polling and runner launching (#45)
# Currently a no-op loop for future expansion.
set -euo pipefail
while true; do
# Placeholder: no-op loop, no logic yet
sleep 60
done