blumeops/containers/nettest/Dockerfile
Erich Blume bf95e87c5d
All checks were successful
Test CI / test (pull_request) Successful in 3s
Add nettest container for CI/CD network debugging
Add a simple Alpine-based container that tests connectivity to tailnet
services (forge.tail8d86e.ts.net and registry.tail8d86e.ts.net). This
helps diagnose networking issues when building containers from:
- Docker on indri (during CI builds)
- Minikube pods (manual testing)

The workflow triggers on nettest-v* tags and also runs the container
after building to verify Docker network access.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 16:41:07 -08:00

24 lines
610 B
Docker

# Network connectivity test container for blumeops CI/CD debugging
#
# This container tests connectivity to tailnet services from various environments:
# - Docker on indri (during CI build)
# - Minikube pods (manual testing)
#
# Build:
# docker build -t registry.tail8d86e.ts.net/blumeops/nettest:latest .
#
# Run:
# docker run --rm registry.tail8d86e.ts.net/blumeops/nettest:latest
FROM alpine:3.21
RUN apk add --no-cache \
curl \
ca-certificates \
jq \
bind-tools
COPY test-connectivity.sh /test-connectivity.sh
RUN chmod +x /test-connectivity.sh
ENTRYPOINT ["/test-connectivity.sh"]