2022-03-29 22:21:05 +01:00
|
|
|
# caddy with duckdns
|
|
|
|
# @created 2022-03
|
|
|
|
# author="Andy Bunce"
|
|
|
|
|
2022-05-01 22:00:12 +01:00
|
|
|
ARG VERSION=caddy:2.5.0
|
2022-03-29 22:57:06 +01:00
|
|
|
FROM $VERSION-builder AS builder
|
2022-03-29 22:21:05 +01:00
|
|
|
|
|
|
|
RUN xcaddy build \
|
2022-05-01 22:01:54 +01:00
|
|
|
--with github.com/caddy-dns/duckdns \
|
|
|
|
--with github.com/greenpau/caddy-security@v1.1.5 \
|
2022-05-01 22:00:51 +01:00
|
|
|
--with github.com/greenpau/caddy-trace@v1.1.8
|
2022-03-29 22:21:05 +01:00
|
|
|
FROM $VERSION
|
|
|
|
|
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|