Add php
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2021-04-15 11:13:18 +02:00
parent 0f5aa75b90
commit 484b4d6f16

View File

@ -16,9 +16,11 @@ RUN xcaddy build --with github.com/caddy-dns/cloudflare --output /usr/bin/caddy
RUN /usr/bin/caddy version RUN /usr/bin/caddy version
FROM caddy:${version} FROM alpine:3
LABEL maintainer "Fabian Stamm <dev@fabianstamm.de>" LABEL maintainer "Fabian Stamm <dev@fabianstamm.de>"
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.9/community >> /etc/apk/repositories
RUN apk add --no-cache php7 php7-fpm php7-opcache php7-curl php7-json php7-zip
COPY --from=builder /usr/bin/caddy /usr/bin/caddy COPY --from=builder /usr/bin/caddy /usr/bin/caddy