From 84b206c37a4b248dd7a6a5052f907a13b41aab82 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Fri, 23 Feb 2024 22:15:04 +0100 Subject: [PATCH] v8.2.16 - composer 2.7.1 - swolle 5.1.2 - phalcon 5.6.1 --- .github/workflows/devel-8.2.yml | 55 +++++++++++++++++++++++++++++++++ 8.2-fpm/Dockerfile | 10 +++--- README.md | 2 +- 3 files changed, 61 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devel-8.2.yml b/.github/workflows/devel-8.2.yml index e7fd336..e97e7df 100644 --- a/.github/workflows/devel-8.2.yml +++ b/.github/workflows/devel-8.2.yml @@ -74,3 +74,58 @@ jobs: run: | rm -rf /tmp/.buildx-cache mv /tmp/.buildx-cache-new /tmp/.buildx-cache + + php-arm: + runs-on: macos-14 + strategy: + matrix: + build: + - arm64 + - armv7 + - armv6 + include: + - build: arm64 + arch: linux/arm64 + - build: armv6 + arch: linux/arm/v6 + - build: armv7 + arch: linux/arm/v7 + steps: + - + name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - + name: Cache Docker layers + uses: actions/cache@v3 + with: + path: /tmp/.buildx-cache + key: 8.2-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.2-fpm/**') }} + restore-keys: | + 8.2-fpm-${{ matrix.arch }}-buildx- + - + name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - + name: Build and Test + uses: docker/build-push-action@v3 + with: + push: false + context: . + platforms: ${{ matrix.arch }} + file: 8.2-fpm/Dockerfile + tags: joseluisq/php-fpm:latest + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max + - + # Temp fix + # https://github.com/docker/build-push-action/issues/252 + # https://github.com/moby/buildkit/issues/1896 + name: Move cache + run: | + rm -rf /tmp/.buildx-cache + mv /tmp/.buildx-cache-new /tmp/.buildx-cache diff --git a/8.2-fpm/Dockerfile b/8.2-fpm/Dockerfile index ce7bdeb..a394c5b 100644 --- a/8.2-fpm/Dockerfile +++ b/8.2-fpm/Dockerfile @@ -1,17 +1,17 @@ -FROM php:8.2.15-fpm-alpine3.18 +FROM php:8.2.16-fpm-alpine3.18 LABEL Maintainer="Jose Quintana " \ Description="PHP-FPM v8.2 with essential extensions on top of Alpine Linux." # Composer - https://getcomposer.org/download/ -ARG COMPOSER_VERSION="2.6.6" -ARG COMPOSER_SUM="72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314" +ARG COMPOSER_VERSION="2.7.1" +ARG COMPOSER_SUM="1ffd0be3f27e237b1ae47f9e8f29f96ac7f50a0bd9eef4f88cdbe94dd04bfff0" # Swoole - https://github.com/swoole/swoole-src -ARG SWOOLE_VERSION="5.1.1" +ARG SWOOLE_VERSION="5.1.2" # Phalcon - https://github.com/phalcon/cphalcon -ARG PHALCON_VERSION="5.6.0" +ARG PHALCON_VERSION="5.6.1" # Install dependencies RUN set -eux \ diff --git a/README.md b/README.md index 3618bf9..2b38472 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ However, you can still find legacy versions like `7.4.x` or `8.0.x` on [Releases | zstd | ✓ | ✓ | ✓ | |   |   |   |   | | **Others** | | | | -| composer | v2.6 | v2.6 | v2.6 | +| composer | v2.6 | v2.7 | v2.6 | **Footnotes**