2023-04-21 07:56:45 +02:00
|
|
|
FROM caddy:2.6.4-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
|
|
|
|
2023-04-21 07:56:45 +02:00
|
|
|
FROM caddy:2.6.4
|
2023-04-19 17:45:58 +02:00
|
|
|
|
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|