From fb02d095302b16e4bb29fc5f80277a32b5f3ae45 Mon Sep 17 00:00:00 2001 From: ChiragAgg5k Date: Thu, 27 Mar 2025 17:59:59 +0530 Subject: [PATCH 1/2] chore: bump dependency versions --- php-8.0/Dockerfile | 14 +++++++------- php-8.1/Dockerfile | 14 +++++++------- php-8.2/Dockerfile | 14 +++++++------- php-8.3/Dockerfile | 14 +++++++------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/php-8.0/Dockerfile b/php-8.0/Dockerfile index ba8da33..aa6d9a4 100644 --- a/php-8.0/Dockerfile +++ b/php-8.0/Dockerfile @@ -1,16 +1,16 @@ FROM php:8.0-cli-alpine as compile ENV PHP_REDIS_VERSION="6.1.0" \ - PHP_SWOOLE_VERSION="v5.1.2" \ + PHP_SWOOLE_VERSION="v5.1.7" \ PHP_IMAGICK_VERSION="3.7.0" \ - PHP_YAML_VERSION="2.2.3" \ - PHP_MAXMINDDB_VERSION="v1.11.1" \ + PHP_YAML_VERSION="2.2.4" \ + PHP_MAXMINDDB_VERSION="v1.12.0" \ PHP_SCRYPT_VERSION="2.0.1" \ - PHP_ZSTD_VERSION="0.13.3" \ + PHP_ZSTD_VERSION="0.14.0" \ PHP_BROTLI_VERSION="0.15.0" \ - PHP_SNAPPY_VERSION="c27f830dcfe6c41eb2619a374de10fd0597f4939" \ - PHP_LZ4_VERSION="2f006c3e4f1fb3a60d2656fc164f9ba26b71e995" \ - PHP_XDEBUG_VERSION="3.3.1" + PHP_SNAPPY_VERSION="0.2.2" \ + PHP_LZ4_VERSION="0.4.4" \ + PHP_XDEBUG_VERSION="3.4.1" RUN \ apk add --no-cache --virtual .deps \ diff --git a/php-8.1/Dockerfile b/php-8.1/Dockerfile index b56f87a..515bb37 100644 --- a/php-8.1/Dockerfile +++ b/php-8.1/Dockerfile @@ -1,16 +1,16 @@ FROM php:8.1-cli-alpine as compile ENV PHP_REDIS_VERSION="6.1.0" \ - PHP_SWOOLE_VERSION="v5.1.2" \ + PHP_SWOOLE_VERSION="v5.1.7" \ PHP_IMAGICK_VERSION="3.7.0" \ - PHP_YAML_VERSION="2.2.3" \ - PHP_MAXMINDDB_VERSION="v1.11.1" \ + PHP_YAML_VERSION="2.2.4" \ + PHP_MAXMINDDB_VERSION="v1.12.0" \ PHP_SCRYPT_VERSION="2.0.1" \ - PHP_ZSTD_VERSION="0.13.3" \ + PHP_ZSTD_VERSION="0.14.0" \ PHP_BROTLI_VERSION="0.15.0" \ - PHP_SNAPPY_VERSION="c27f830dcfe6c41eb2619a374de10fd0597f4939" \ - PHP_LZ4_VERSION="2f006c3e4f1fb3a60d2656fc164f9ba26b71e995" \ - PHP_XDEBUG_VERSION="3.3.1" + PHP_SNAPPY_VERSION="0.2.2" \ + PHP_LZ4_VERSION="0.4.4" \ + PHP_XDEBUG_VERSION="3.4.1" RUN \ apk add --no-cache --virtual .deps \ diff --git a/php-8.2/Dockerfile b/php-8.2/Dockerfile index 792dbec..a2b5a88 100644 --- a/php-8.2/Dockerfile +++ b/php-8.2/Dockerfile @@ -1,16 +1,16 @@ FROM php:8.2-cli-alpine as compile ENV PHP_REDIS_VERSION="6.1.0" \ - PHP_SWOOLE_VERSION="v5.1.2" \ + PHP_SWOOLE_VERSION="v5.1.7" \ PHP_IMAGICK_VERSION="3.7.0" \ - PHP_YAML_VERSION="2.2.3" \ - PHP_MAXMINDDB_VERSION="v1.11.1" \ + PHP_YAML_VERSION="2.2.4" \ + PHP_MAXMINDDB_VERSION="v1.12.0" \ PHP_SCRYPT_VERSION="2.0.1" \ - PHP_ZSTD_VERSION="0.13.3" \ + PHP_ZSTD_VERSION="0.14.0" \ PHP_BROTLI_VERSION="0.15.0" \ - PHP_SNAPPY_VERSION="c27f830dcfe6c41eb2619a374de10fd0597f4939" \ - PHP_LZ4_VERSION="2f006c3e4f1fb3a60d2656fc164f9ba26b71e995" \ - PHP_XDEBUG_VERSION="3.3.1" + PHP_SNAPPY_VERSION="0.2.2" \ + PHP_LZ4_VERSION="0.4.4" \ + PHP_XDEBUG_VERSION="3.4.1" RUN \ apk add --no-cache --virtual .deps \ diff --git a/php-8.3/Dockerfile b/php-8.3/Dockerfile index b859dae..9dae6d2 100644 --- a/php-8.3/Dockerfile +++ b/php-8.3/Dockerfile @@ -1,16 +1,16 @@ FROM php:8.3-cli-alpine as compile ENV PHP_REDIS_VERSION="6.1.0" \ - PHP_SWOOLE_VERSION="v5.1.2" \ + PHP_SWOOLE_VERSION="v5.1.7" \ PHP_IMAGICK_VERSION="3.7.0" \ - PHP_YAML_VERSION="2.2.3" \ - PHP_MAXMINDDB_VERSION="v1.11.1" \ + PHP_YAML_VERSION="2.2.4" \ + PHP_MAXMINDDB_VERSION="v1.12.0" \ PHP_SCRYPT_VERSION="2.0.1" \ - PHP_ZSTD_VERSION="0.13.3" \ + PHP_ZSTD_VERSION="0.14.0" \ PHP_BROTLI_VERSION="0.15.0" \ - PHP_SNAPPY_VERSION="c27f830dcfe6c41eb2619a374de10fd0597f4939" \ - PHP_LZ4_VERSION="2f006c3e4f1fb3a60d2656fc164f9ba26b71e995" \ - PHP_XDEBUG_VERSION="3.3.1" + PHP_SNAPPY_VERSION="0.2.2" \ + PHP_LZ4_VERSION="0.4.4" \ + PHP_XDEBUG_VERSION="3.4.1" RUN \ apk add --no-cache --virtual .deps \ From a7dcf8a2b4196dc0360f3cb560fa0b8876d7a5a8 Mon Sep 17 00:00:00 2001 From: ChiragAgg5k Date: Thu, 27 Mar 2025 18:00:44 +0530 Subject: [PATCH 2/2] fix: casing --- php-8.0/Dockerfile | 8 ++++---- php-8.1/Dockerfile | 8 ++++---- php-8.2/Dockerfile | 8 ++++---- php-8.3/Dockerfile | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/php-8.0/Dockerfile b/php-8.0/Dockerfile index aa6d9a4..9b58ce2 100644 --- a/php-8.0/Dockerfile +++ b/php-8.0/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0-cli-alpine as compile +FROM php:8.0-cli-alpine AS compile ENV PHP_REDIS_VERSION="6.1.0" \ PHP_SWOOLE_VERSION="v5.1.7" \ @@ -86,7 +86,7 @@ RUN \ make && make install # Zstd Compression -FROM compile as zstd +FROM compile AS zstd RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && cd php-ext-zstd \ && git checkout $PHP_ZSTD_VERSION \ @@ -95,7 +95,7 @@ RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && make && make install ## Brotli Extension -FROM compile as brotli +FROM compile AS brotli RUN git clone https://github.com/kjdev/php-ext-brotli.git \ && cd php-ext-brotli \ && git reset --hard $PHP_BROTLI_VERSION \ @@ -139,7 +139,7 @@ RUN \ ./configure && \ make && make install -FROM php:8.0-cli-alpine as final +FROM php:8.0-cli-alpine AS final LABEL maintainer="team@appwrite.io" diff --git a/php-8.1/Dockerfile b/php-8.1/Dockerfile index 515bb37..f5934e0 100644 --- a/php-8.1/Dockerfile +++ b/php-8.1/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.1-cli-alpine as compile +FROM php:8.1-cli-alpine AS compile ENV PHP_REDIS_VERSION="6.1.0" \ PHP_SWOOLE_VERSION="v5.1.7" \ @@ -86,7 +86,7 @@ RUN \ make && make install # Zstd Compression -FROM compile as zstd +FROM compile AS zstd RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && cd php-ext-zstd \ && git checkout $PHP_ZSTD_VERSION \ @@ -95,7 +95,7 @@ RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && make && make install ## Brotli Extension -FROM compile as brotli +FROM compile AS brotli RUN git clone https://github.com/kjdev/php-ext-brotli.git \ && cd php-ext-brotli \ && git reset --hard $PHP_BROTLI_VERSION \ @@ -139,7 +139,7 @@ RUN \ ./configure && \ make && make install -FROM php:8.1-cli-alpine as final +FROM php:8.1-cli-alpine AS final LABEL maintainer="team@appwrite.io" diff --git a/php-8.2/Dockerfile b/php-8.2/Dockerfile index a2b5a88..60dcbc6 100644 --- a/php-8.2/Dockerfile +++ b/php-8.2/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.2-cli-alpine as compile +FROM php:8.2-cli-alpine AS compile ENV PHP_REDIS_VERSION="6.1.0" \ PHP_SWOOLE_VERSION="v5.1.7" \ @@ -86,7 +86,7 @@ RUN \ make && make install # Zstd Compression -FROM compile as zstd +FROM compile AS zstd RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && cd php-ext-zstd \ && git checkout $PHP_ZSTD_VERSION \ @@ -95,7 +95,7 @@ RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && make && make install ## Brotli Extension -FROM compile as brotli +FROM compile AS brotli RUN git clone https://github.com/kjdev/php-ext-brotli.git \ && cd php-ext-brotli \ && git reset --hard $PHP_BROTLI_VERSION \ @@ -139,7 +139,7 @@ RUN \ ./configure && \ make && make install -FROM php:8.2-cli-alpine as final +FROM php:8.2-cli-alpine AS final LABEL maintainer="team@appwrite.io" diff --git a/php-8.3/Dockerfile b/php-8.3/Dockerfile index 9dae6d2..8bdb31f 100644 --- a/php-8.3/Dockerfile +++ b/php-8.3/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.3-cli-alpine as compile +FROM php:8.3-cli-alpine AS compile ENV PHP_REDIS_VERSION="6.1.0" \ PHP_SWOOLE_VERSION="v5.1.7" \ @@ -86,7 +86,7 @@ RUN \ make && make install # Zstd Compression -FROM compile as zstd +FROM compile AS zstd RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && cd php-ext-zstd \ && git checkout $PHP_ZSTD_VERSION \ @@ -95,7 +95,7 @@ RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && make && make install ## Brotli Extension -FROM compile as brotli +FROM compile AS brotli RUN git clone https://github.com/kjdev/php-ext-brotli.git \ && cd php-ext-brotli \ && git reset --hard $PHP_BROTLI_VERSION \ @@ -139,7 +139,7 @@ RUN \ ./configure && \ make && make install -FROM php:8.3-cli-alpine as final +FROM php:8.3-cli-alpine AS final LABEL maintainer="team@appwrite.io"