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 \
|
|
|
|
--with github.com/mholt/caddy-dynamicdns
|
|
|
|
|
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
|