|
@@ -4,20 +4,20 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
|
|
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
|
|
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
|
|
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
|
|
-RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.2-cli php8.2-mbstring php8.2-curl php8.2-xml php8.2-pgsql > /dev/null
|
|
|
|
|
|
+RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.3-cli php8.3-mbstring php8.3-curl php8.3-xml php8.3-pgsql > /dev/null
|
|
|
|
|
|
-RUN apt-get install -y php8.2-dev libevent-dev > /dev/null
|
|
|
|
|
|
+RUN apt-get install -y php8.3-dev libevent-dev > /dev/null
|
|
RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
|
|
RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
|
|
-RUN pecl install event-3.0.8 > /dev/null && echo "extension=event.so" > /etc/php/8.2/cli/conf.d/event.ini
|
|
|
|
|
|
+RUN pecl install event-3.0.8 > /dev/null && echo "extension=event.so" > /etc/php/8.3/cli/conf.d/event.ini
|
|
|
|
|
|
-COPY php-jit.ini /etc/php/8.2/cli/php.ini
|
|
|
|
|
|
+COPY php-jit.ini /etc/php/8.3/cli/php.ini
|
|
|
|
|
|
ADD ./ /mixphp
|
|
ADD ./ /mixphp
|
|
WORKDIR /mixphp
|
|
WORKDIR /mixphp
|
|
|
|
|
|
RUN sed -i "s|Benchmark();|BenchmarkRaw();|g" /mixphp/routes/index.php
|
|
RUN sed -i "s|Benchmark();|BenchmarkRaw();|g" /mixphp/routes/index.php
|
|
|
|
|
|
-RUN curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
|
|
|
|
+COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
|
|
RUN composer install --no-dev --classmap-authoritative --quiet > /dev/null
|
|
RUN composer install --no-dev --classmap-authoritative --quiet > /dev/null
|
|
RUN composer dumpautoload -o
|
|
RUN composer dumpautoload -o
|
|
|
|
|