lab-ansible/roles/proxy/templates/docker/Dockerfile.j2

7 lines
273 B
Docker
Raw Normal View History

2023-11-13 20:17:17 +00:00
# code: language=ansible-jinja
FROM caddy:{{ proxy_caddy_version }}-builder-alpine AS builder
RUN xcaddy build v{{ proxy_caddy_version }} \
--with github.com/caddy-dns/njalla
FROM caddy:{{ proxy_caddy_version }}-alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy