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

9 lines
308 B
Django/Jinja

# THIS FILE IS MANAGED BY ANSIBLE
# 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