From 0f9ee38db183df8a80d96e8eec49348edaf59368 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 11 Oct 2022 12:26:36 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 980e11d..f47c896 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN apk -U upgrade && \ rrdtool \ ffmpeg-dev \ geoip-dev \ + mariadb-dev \ php8-cgi RUN git clone https://github.com/cherokee/webserver.git . && \ @@ -35,11 +36,15 @@ RUN git clone https://github.com/cherokee/webserver.git . && \ linux-headers \ ffmpeg-dev \ geoip-dev \ + mariadb-dev \ libtool && \ + mkdir -p /buildroot && \ + cp -Rf "/usr/local/" "/buildroot/" rm -Rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/src/* FROM casjaysdevdocker/php:latest AS source -COPY --from=build /usr/local/. /usr/local/ + +COPY --from=build /buildroot/. /usr/local/ COPY ./bin/. /usr/local/bin/ COPY ./data/. /usr/local/share/template-files/data/ COPY ./config/. /usr/local/share/template-files/config/