Перекладка и апгрейд проекта под расширение

This commit is contained in:
2024-12-08 16:38:04 +08:00
parent faec083397
commit 0df4578e09
54 changed files with 1255 additions and 1245 deletions

View File

@@ -1,12 +1,15 @@
FROM php:8.2-fpm
FROM php:8.4-fpm
RUN apt update && \
apt upgrade -y && \
apt install -y git unzip 7zip
apt install -y --no-install-recommends git unzip 7zip && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
# https://pecl.php.net/package/xdebug
RUN pecl channel-update pecl.php.net && \
pecl install xdebug-3.3.2 unzip && \
pecl install xdebug-3.4.0 unzip && \
mkdir -p /var/log/php
COPY --from=composer /usr/bin/composer /usr/local/bin/composer

View File

@@ -1,8 +1,11 @@
FROM php:8.2-fpm
FROM php:8.4-fpm
RUN apt update && \
apt upgrade -y && \
apt install -y git
apt install -y --no-install-recommends git && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
COPY --from=composer /usr/bin/composer /usr/local/bin/composer