Skip to content

Commit

Permalink
v8.3.13 (#48)
Browse files Browse the repository at this point in the history
* v8.3.13

- php 8.3.13
- composer 2.8.1
- swoole 5.1.5
- phalcon 5.8.0

* chore: add source imagick extension to php 8.3.13
  • Loading branch information
joseluisq authored Oct 28, 2024
1 parent 31cb79e commit 1bccf76
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 19 deletions.
43 changes: 27 additions & 16 deletions 8.3-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
FROM php:8.3.12-fpm-alpine3.19
FROM php:8.3.13-fpm-alpine3.19

LABEL Maintainer="Jose Quintana <joseluisq.net>" \
Description="PHP-FPM v8.3 with essential extensions on top of Alpine Linux."

# Composer - https://getcomposer.org/download/
ARG COMPOSER_VERSION="2.7.9"
ARG COMPOSER_SUM="b6de5e65c199d80ba11897fbe1364e063e858d483f6a81a176c4d60f2b1d6347"
ARG COMPOSER_VERSION="2.8.1"
ARG COMPOSER_SUM="930b376fbd2147a623ea7b704eb9d3b8b0d6072992207aa0535aa21f6f05378e"

# Swoole - https://github.com/swoole/swoole-src
ARG SWOOLE_VERSION="5.1.4"
ARG SWOOLE_VERSION="5.1.5"

# # Phalcon - https://github.com/phalcon/cphalcon
# ARG PHALCON_VERSION="5.7.0"
ARG PHALCON_VERSION="5.8.0"

# Imagick - https://github.com/Imagick/imagick
ARG IMAGICK_COMMIT="28f27044e435a2b203e32675e942eb8de620ee58"

# Install dependencies
RUN set -eux \
Expand Down Expand Up @@ -154,10 +157,18 @@ RUN set -eux \
&& docker-php-ext-install -j$(nproc) imap \
&& true \
\
# # Install imagick
# && pecl install imagick \
# && docker-php-ext-enable imagick \
# && true \
# Install imagick from source (temporarily)
&& mkdir -p /opt/imagick \
&& cd /opt/imagick \
&& git init \
&& git remote add origin https://github.com/Imagick/imagick.git \
&& git fetch origin ${IMAGICK_COMMIT} \
&& git checkout ${IMAGICK_COMMIT} \
&& phpize && ./configure \
&& make -j$(nproc) \
&& make -j$(nproc) install \
&& docker-php-ext-enable imagick \
&& true \
\
# Install igbinary
&& pecl install igbinary \
Expand Down Expand Up @@ -219,13 +230,13 @@ RUN set -eux \
&& docker-php-ext-install -j$(nproc) pcntl \
&& true \
\
# # Install phalcon
# && git clone --depth=1 --branch=v${PHALCON_VERSION} https://github.com/phalcon/cphalcon.git /opt/phalcon \
# && cd /opt/phalcon/build \
# && sh ./install \
# && docker-php-ext-enable phalcon \
# && true \
# \
# Install phalcon
&& git clone --depth=1 --branch=v${PHALCON_VERSION} https://github.com/phalcon/cphalcon.git /opt/phalcon \
&& cd /opt/phalcon/build \
&& sh ./install \
&& docker-php-ext-enable phalcon \
&& true \
\
# Install pdo_pgsql
&& docker-php-ext-install -j$(nproc) pdo_pgsql \
&& true \
Expand Down
2 changes: 2 additions & 0 deletions 8.3-fpm/extensions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gd
gettext
gmp
igbinary
imagick
imap
intl
lz4
Expand All @@ -22,6 +23,7 @@ pdo_mysql
pdo_pgsql
pdo_sqlsrv
pgsql
phalcon
psr
rdkafka
redis
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ However, you can still find legacy versions like `7.4.x` or `8.0.x` on [Releases
| gd ||||
| gettext ||||
| gmp ||||
| imagick ||| ? |
| imagick ||| |
| igbinary ||||
| imap ||||
| intl ||||
Expand All @@ -66,7 +66,7 @@ However, you can still find legacy versions like `7.4.x` or `8.0.x` on [Releases
| pdo_pgsql ||||
| pdo_sqlsrv | ✓ <sup>(64-bit only)</sub> | ✓ <sup>(64-bit only)</sub> | ✓ <sup>(64-bit only)</sub> |
| pgsql ||||
| phalcon ||| ? |
| phalcon ||| |
| psr ||||
| redis ||||
| rdkafka ||||
Expand All @@ -88,7 +88,7 @@ However, you can still find legacy versions like `7.4.x` or `8.0.x` on [Releases
| zstd ||||
| &nbsp; | &nbsp; | &nbsp; | &nbsp; |
| **Others** | | | |
| composer | v2.7 | v2.8 | v2.7 |
| composer | v2.7 | v2.8 | v2.8 |
| &nbsp; | &nbsp; | &nbsp; | &nbsp; |
| **Extensions file** | [8.1-fpm/extensions.txt](8.1-fpm/extensions.txt) | [8.2-fpm/extensions.txt](8.2-fpm/extensions.txt) | [8.3-fpm/extensions.txt](8.3-fpm/extensions.txt) |

Expand Down

0 comments on commit 1bccf76

Please sign in to comment.