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

9 lines
308 B
Docker
Raw Normal View History

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