Dockerfile: (generated by gemini pro v3)
# Start with the official builder image
FROM docker.io/library/caddy:builder AS builder
# Add the Caddy Docker Proxy plugin
RUN xcaddy build \
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
--with github.com/caddy-dns/rfc2136
# Create the final image
FROM docker.io/library/caddy:alpine
# Add bind-tools for debugging within container
RUN apk add bind-tools
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
CMD ["caddy","docker-proxy"]
Content type
Image
Digest
sha256:27cb47414…
Size
43.6 MB
Last updated
8 months ago
docker pull asmanov/caddy-rfc2136