caddy/Dockerfile

14 lines
320 B
Docker
Raw Normal View History

2024-02-02 17:26:18 +01:00
FROM docker.io/caddy:2.7.6-builder AS builder
2023-04-19 17:45:58 +02:00
2023-04-21 07:56:45 +02:00
#
## build with additional plugins
#
2023-04-19 17:45:58 +02:00
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
2023-06-11 12:58:02 +02:00
--with github.com/mholt/caddy-dynamicdns \
--with github.com/greenpau/caddy-security
2023-04-19 17:45:58 +02:00
2024-02-02 17:26:18 +01:00
FROM docker.io/caddy:2.7.6
2023-04-19 17:45:58 +02:00
COPY --from=builder /usr/bin/caddy /usr/bin/caddy