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

9 lines
312 B
Docker
Raw Normal View History

2023-12-29 18:07:08 +00:00
{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
2023-11-13 20:17:17 +00:00
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