From 484b4d6f16433d2f48a59e929e3ac6e113b7c5d6 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Thu, 15 Apr 2021 11:13:18 +0200 Subject: [PATCH] Add php --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bcd965b..968b7cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,11 @@ RUN xcaddy build --with github.com/caddy-dns/cloudflare --output /usr/bin/caddy RUN /usr/bin/caddy version -FROM caddy:${version} +FROM alpine:3 LABEL maintainer "Fabian Stamm " +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