feat: custom edge container Dockerfile with dispatcher dependencies
- 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:
parent
6b47f949dd
commit
8ab1009b15
3 changed files with 18 additions and 1 deletions
3
docker/edge/Dockerfile
Normal file
3
docker/edge/Dockerfile
Normal 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
12
docker/edge/dispatcher.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue