add php8.3
Some checks failed
ci/woodpecker/push/build/3 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/push/build/4 Pipeline was successful
ci/woodpecker/push/build/1 Pipeline failed
ci/woodpecker/push/build/5 Pipeline was successful
ci/woodpecker/push/build/6 Pipeline was successful
ci/woodpecker/push/build/7 Pipeline was successful

This commit is contained in:
Simon Vieille 2023-12-04 15:54:15 +01:00
parent 46f04f4dcb
commit 04bf2d7db9
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 21 additions and 0 deletions

View file

@ -1,5 +1,6 @@
matrix:
PHP_VERSION:
- 8.3
- 8.2
- 8.1
- 8.0

20
Dockerfile.php8.3 Normal file
View file

@ -0,0 +1,20 @@
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y apt-transport-https ca-certificates wget \
&& wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
&& sh -c 'echo "deb https://packages.sury.org/php/ bullseye main" > /etc/apt/sources.list.d/php.list' \
&& apt-get update \
&& apt-get install -y curl php8.3-apcu php8.3-bcmath php8.3-bz2 php8.3-cli php8.3-common php8.3-curl php8.3-fpm php8.3-gd php8.3-gmp php8.3-igbinary php8.3-imagick php8.3-imap php8.3-intl php8.3-mailparse php8.3-mbstring php8.3-memcached php8.3-mongodb php8.3-msgpack php8.3-mysql php8.3-opcache php8.3-pgsql php8.3-raphf php8.3-readline php8.3-redis php8.3-soap php8.3-sqlite3 php8.3-tidy php8.3-uuid php8.3-xdebug php8.3-xml php8.3-xsl php8.3-yaml php8.3-zip \
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php composer-setup.php \
&& php -r "unlink('composer-setup.php');" \
&& mv composer.phar /usr/local/bin/composer \
&& chmod +x /usr/local/bin/composer \
&& apt-get clean
RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | bash \
&& apt-get update \
&& apt-get install -y symfony-cli \
&& apt-get clean