소스 검색

[php] Amp update to PHP 8.5 (#10307)

Joan Miquel 3 주 전
부모
커밋
d129b2bedf
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      frameworks/PHP/amp/amp.dockerfile

+ 4 - 4
frameworks/PHP/amp/amp.dockerfile

@@ -6,19 +6,19 @@ RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /de
 RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
 RUN apt-get update -yqq > /dev/null && \
     apt-get install -yqq git unzip wget curl build-essential \
-    php8.4-cli php8.4-mbstring php8.4-dev php8.4-xml php8.4-curl > /dev/null
+    php8.5-cli php8.5-mbstring php8.5-dev php8.5-xml php8.5-curl > /dev/null
 
 # An extension is required!
 # We deal with concurrencies over 1k, which stream_select doesn't support.
 RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
 #RUN apt-get install -y libuv1-dev > /dev/null
 RUN apt-get install -y libevent-dev > /dev/null
-#RUN pecl install uv-0.2.4 > /dev/null && echo "extension=uv.so" > /etc/php/8.4/cli/conf.d/uv.ini
-RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.4/cli/conf.d/event.ini
+#RUN pecl install uv-0.2.4 > /dev/null && echo "extension=uv.so" > /etc/php/8.5/cli/conf.d/uv.ini
+RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.5/cli/conf.d/event.ini
 
 WORKDIR /amp
 COPY --link . .
-COPY deploy/conf/* /etc/php/8.4/cli/conf.d/
+COPY deploy/conf/* /etc/php/8.5/cli/conf.d/
 
 COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer