ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache curl php84 php84-fpm php84-opcache caddy php84-curl php84-xdebug chromium-chromedriver # buildkit |
RUN /bin/sh -c sed -i 's/nobody/caddy/g' /etc/php84/php-fpm.d/www.conf # buildkit |
RUN /bin/sh -c sed -i 's/E_ALL \& ~E_DEPRECATED \& ~E_STRICT/E_ALL \& ~E_DEPRECATED \& ~E_STRICT \& ~E_NOTICE \& ~E_WARNING/g' /etc/php84/php.ini # buildkit |
RUN /bin/sh -c echo "error_log = /srv/logs/php_errors.log" >> /etc/php84/php.ini # buildkit |
RUN /bin/sh -c apk add --no-cache php84-ctype php84-dom php84-fileinfo php84-gd php84-iconv php84-simplexml php84-xml php84-xmlreader php84-xmlwriter php84-zip php84-phar php84-openssl # buildkit |
RUN /bin/sh -c curl -sS https://getcomposer.org/installer | /usr/bin/php84 -- --install-dir=/usr/bin --filename=composer # buildkit |
RUN /bin/sh -c ln -s /usr/bin/php84 /usr/bin/php # buildkit |
ADD docker/start.sh /start.sh # buildkit |
RUN /bin/sh -c chmod +x /start.sh # buildkit |
ADD . /srv # buildkit |
RUN /bin/sh -c rm -rf /srv/.git # buildkit |
RUN /bin/sh -c rm -rf /srv/.github # buildkit |
RUN /bin/sh -c rm -rf /srv/.vscode # buildkit |
COPY docker/Caddyfile /etc/caddy/Caddyfile # buildkit |
CMD ["sh" "-c" "/start.sh"] |