🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-11 11:25:06 -04:00
parent 428e2fbb5f
commit 3d55fb1032
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -38,7 +38,15 @@ RUN git clone https://github.com/cherokee/webserver.git . && \
libtool && \
rm -Rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/src/*
FROM casjaysdevdocker/php:latest
FROM casjaysdevdocker/php:latest AS source
COPY --from=build /usr/local/bin/. /usr/local/bin/
COPY --from=build /usr/local/lib/python2/. /usr/local/lib/python2/
COPY --from=build /usr/local/share/cherokee/. /usr/local/share/cherokee/
COPY ./bin/. /usr/local/bin/
COPY ./data/. /usr/local/share/template-files/data/
COPY ./config/. /usr/local/share/template-files/config/
FROM scratch
ARG BUILD_DATE="$(date +'%Y-%m-%d %H:%M')"
LABEL \
@ -55,10 +63,7 @@ LABEL \
org.label-schema.vendor="CasjaysDev" \
maintainer="CasjaysDev <docker-admin@casjaysdev.com>"
COPY --from=build /usr/local/share/cherokee/. /usr/local/share/cherokee/
COPY ./bin/. /usr/local/bin/
COPY ./data/. /usr/local/share/template-files/data/
COPY ./config/. /usr/local/share/template-files/config/
COPY --from=source /. /
ENV PHP_SERVER=cherokee