Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.2.13 #30

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/devel-8.2.yml
Original file line number Diff line number Diff line change
@@ -5,15 +5,17 @@ on:
- master
paths:
- 8.2-fpm/**
- .github/workflows/devel-8.2.yml
push:
branches:
- master
paths:
- 8.2-fpm/**
- .github/workflows/devel-8.2.yml

jobs:
php:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
build:
@@ -44,7 +46,7 @@ jobs:
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: 8.2-fpm-${{ matrix.arch }}-buildx-${{ github.sha }}
key: 8.2-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.2-fpm/**') }}
restore-keys: |
8.2-fpm-${{ matrix.arch }}-buildx-
-
4 changes: 2 additions & 2 deletions .github/workflows/release-8.2.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ on:

jobs:
docker-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
build:
@@ -66,7 +66,7 @@ jobs:

docker-manifest:
needs: docker-build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Set envs
run: |
43 changes: 37 additions & 6 deletions 8.2-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2.12-fpm-alpine3.17
FROM php:8.2.13-fpm-alpine3.17

LABEL Maintainer="Jose Quintana <joseluisq.net>" \
Description="PHP-FPM v8.2 with essential extensions on top of Alpine Linux."
@@ -8,7 +8,7 @@ ARG COMPOSER_VERSION="2.6.5"
ARG COMPOSER_SUM="9a18e1a3aadbcb94c1bafd6c4a98ff931f4b43a456ef48575130466e19f05dd6"

# Swoole - https://github.com/swoole/swoole-src
ARG SWOOLE_VERSION="5.1.0"
ARG SWOOLE_VERSION="5.1.1"

# Phalcon - https://github.com/phalcon/cphalcon
ARG PHALCON_VERSION="5.4.0"
@@ -38,13 +38,16 @@ RUN set -eux \
libxpm \
libxslt \
libzip \
lz4-libs \
make \
rabbitmq-c \
tidyhtml \
tzdata \
unixodbc \
vips \
yaml
yaml \
zstd-libs \
&& true

#############################################
### Install and enable PHP extensions
@@ -78,6 +81,7 @@ RUN set -eux \
libxpm-dev \
libxslt-dev \
libzip-dev \
lz4-dev \
openssl-dev \
pcre-dev \
pkgconf \
@@ -155,10 +159,25 @@ RUN set -eux \
&& docker-php-ext-enable imagick \
&& true \
\
# Install igbinary
&& pecl install igbinary \
&& docker-php-ext-enable igbinary \
\
# Install intl
&& docker-php-ext-install -j$(nproc) intl \
&& true \
\
# Install lz4
&& git clone https://github.com/kjdev/php-ext-lz4 /tmp/lz4 \
&& cd /tmp/lz4 \
&& git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \
&& phpize \
&& ./configure --enable-lz4 --with-lz4-includedir=/usr \
&& make -j$(nproc) \
&& make install \
&& docker-php-ext-enable lz4 \
&& true \
\
# Install memcache
&& pecl install memcache \
&& docker-php-ext-enable memcache \
@@ -169,6 +188,11 @@ RUN set -eux \
&& docker-php-ext-enable mongodb \
&& true \
\
# Install msgpack
&& pecl install msgpack \
&& docker-php-ext-enable msgpack \
&& true \
\
# Install mysqli
&& docker-php-ext-install -j$(nproc) mysqli \
&& true \
@@ -196,8 +220,8 @@ RUN set -eux \
&& true \
\
# Install phalcon
&& git clone --depth=1 --branch=v${PHALCON_VERSION} https://github.com/phalcon/cphalcon.git \
&& cd cphalcon/build \
&& git clone --depth=1 --branch=v${PHALCON_VERSION} https://github.com/phalcon/cphalcon.git /tmp/phalcon \
&& cd /tmp/phalcon/build \
&& sh ./install \
&& docker-php-ext-enable phalcon \
&& true \
@@ -228,7 +252,9 @@ RUN set -eux \
&& true \
\
# Install redis
&& pecl install redis \
&& pecl install --configureoptions \
'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-msgpack="yes" enable-redis-lz4="yes"' \
redis \
&& docker-php-ext-enable redis \
&& true \
\
@@ -276,6 +302,11 @@ RUN set -eux \
&& docker-php-ext-install -j$(nproc) tidy \
&& true \
\
# Install uuid
&& pecl install uuid \
&& docker-php-ext-enable uuid \
&& true \
\
# Install xsl
&& docker-php-ext-install -j$(nproc) xsl \
&& true \
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -47,14 +47,14 @@ _**Note:** we only provide stable PHP versions._
| gettext | ✓ | ✓ | ✓ | ✓ |
| gmp | ✓ | ✓ | ✓ | ✓ |
| imagick | ✓ | ✓ | ✓ | ? |
| igbinary | ? | ✓ | ? | ? |
| igbinary | ? | ✓ | | ? |
| imap | ✓ | ✓ | ✓ | ✓ |
| intl | ✓ | ✓ | ✓ | ✓ |
| lz4 | ? | ✓ | ? | ? |
| lz4 | ? | ✓ | | ? |
| mcrypt | ✓ | ? | ? | ? |
| memcache | ✓ | ✓ | ✓ | ✓ |
| mongodb | ✓ | ✓ | ✓ | ✓ |
| msgpack | ? | ✓ | ? | ? |
| msgpack | ? | ✓ | | ? |
| mysqli | ✓ | ✓ | ✓ | ✓ |
| oauth | ✓ | ✓ | ✓ | ✓ |
| opcache | ✓ | ✓ | ✓ | ✓ |
@@ -77,7 +77,7 @@ _**Note:** we only provide stable PHP versions._
| sysvsem | ✓ | ✓ | ✓ | ✓ |
| sysvshm | ✓ | ✓ | ✓ | ✓ |
| tidy | ✓ | ✓ | ✓ | ✓ |
| uuid | ? | ✓ | ? | ? |
| uuid | ? | ✓ | | ? |
| vips | ✓ | ✓ | ✓ | ✓ |
| xdebug | ✓ | ✓ | ✓ | ? |
| xsl | ✓ | ✓ | ✓ | ✓ |