thedocks/caddy/Dockerfile
2022-05-01 22:01:54 +01:00

14 lines
358 B
Docker

# caddy with duckdns
# @created 2022-03
# author="Andy Bunce"
ARG VERSION=caddy:2.5.0
FROM $VERSION-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/duckdns \
--with github.com/greenpau/caddy-security@v1.1.5 \
--with github.com/greenpau/caddy-trace@v1.1.8
FROM $VERSION
COPY --from=builder /usr/bin/caddy /usr/bin/caddy