Files
caddy-hetzner/Dockerfile
scott c396218805
All checks were successful
Docker Build and Publish (CrowdSec) / Build Docker image and publish to Gitea (push) Successful in 1m43s
Add CrowdSec and additional modules, new crowdsec build workflow
Adds caddy-l4, transform-encoder, and CrowdSec bouncer (http/appsec/layer4)
modules to the Dockerfile. Adds a dedicated workflow that publishes the image
tagged as :crowdsec on the crowdsec branch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 22:25:38 -04:00

13 lines
457 B
Docker

FROM caddy:builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/hetzner/v2 \
--with github.com/mholt/caddy-l4 \
--with github.com/caddyserver/transform-encoder \
--with github.com/hslatman/caddy-crowdsec-bouncer/http@main \
--with github.com/hslatman/caddy-crowdsec-bouncer/appsec@main \
--with github.com/hslatman/caddy-crowdsec-bouncer/layer4@main
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy