Sign inSign up

infrabuilder/tiny-http-probe

By infrabuilder

•Updated about 1 year ago

Image
0

1.7K

infrabuilder/tiny-http-probe repository overview

⁠tiny-http-probe

Docker Image Size Docker Pulls Docker Image Vulnerabilities GitHub Repo CI Docker Weekly Build


⁠Overview

tiny-http-probe is a minimal, stateless HTTP server designed for health checks, cache testing, and network diagnostics. It provides a set of endpoints that return simple JSON payloads, allowing you to:

  • Test HTTP connectivity and response headers
  • Inspect client IP and proxy headers
  • Validate cache and CDN behaviors

⁠Security Considerations

  • Rootless by default: The container runs as a non-root user (UID/GID 1000) for improved security.
  • Minimal attack surface: The final Docker image is built FROM scratch and contains only the statically compiled Go binary.
  • No persistent storage: The app is stateless and does not write to disk.
  • No authentication: Endpoints are public by design; do not expose to untrusted networks if sensitive.

⁠Build Instructions

⁠Build and Run with Docker
docker build -t tiny-http-probe .
docker run -p 8080:8080 tiny-http-probe
⁠Build Locally (requires Go 1.22+)
go mod tidy
go build -o tiny-http-probe
./tiny-http-probe

The server will listen on port 8080 by default. You can override the port with the PORT environment variable.

⁠Bug Reports

Please report any bugs or issues via GitHub Issues⁠.

Tag summary

Content type

Image

Digest

sha256:7ad661d28…

Size

2.6 MB

Last updated

about 1 year ago

docker pull infrabuilder/tiny-http-probe