2022-03-29 22:21:05 +01:00
|
|
|
# caddy with duckdns
|
|
|
|
# @created 2022-03
|
|
|
|
# author="Andy Bunce"
|
|
|
|
|
2022-11-09 16:09:18 +00:00
|
|
|
ARG VERSION=caddy:2.6.2
|
2022-03-29 22:57:06 +01:00
|
|
|
FROM $VERSION-builder AS builder
|
2022-03-29 22:21:05 +01:00
|
|
|
|
2022-11-28 11:21:34 +00:00
|
|
|
RUN xcaddy build \
|
|
|
|
--with github.com/caddy-dns/duckdns
|
2022-11-28 15:04:15 +00:00
|
|
|
--with github.com/greenpau/caddy-security \
|
|
|
|
--with github.com/greenpau/caddy-trace \
|
|
|
|
--with github.com/greenpau/caddy-git
|
2022-03-29 22:21:05 +01:00
|
|
|
FROM $VERSION
|
|
|
|
|
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|