A failed HTTPS check is retried (3 attempts, 2 s apart). If all attempts fail, the agent runs traceroute -4 -n to the target's IPv4 address in a separate process, polls it every 5 s (90 s limit) and posts the full output as a traceroute_result event for the address. The agent waits for traces before reporting completion, while the floating IP is attached. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
419 B
Docker
12 lines
419 B
Docker
FROM alpine:3.20
|
|
|
|
RUN apk add --no-cache gettext traceroute
|
|
|
|
COPY bin/validator-agent /usr/local/bin/validator-agent
|
|
COPY deploy/docker/validator-agent/validator-agent.yaml.tmpl /etc/validator-agent/validator-agent.yaml.tmpl
|
|
COPY deploy/docker/validator-agent/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
|
|
|
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|