From 4ac16132c03d3496750460a1bf5d569207321dd4 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:11:52 +0545 Subject: [PATCH 01/12] Update php-8.0.Dockerfile --- php-8.0.Dockerfile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/php-8.0.Dockerfile b/php-8.0.Dockerfile index 720d2ce..c4651b3 100644 --- a/php-8.0.Dockerfile +++ b/php-8.0.Dockerfile @@ -7,20 +7,10 @@ COPY composer.json /usr/local/src/ RUN composer install --ignore-platform-reqs -FROM phpswoole/swoole:php8.0-alpine +FROM appwrite/utopia-base:php-8.0-0.1.0 as final WORKDIR /usr/local/src/ -RUN apk add autoconf build-base - -RUN docker-php-ext-enable redis - -ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ - -RUN docker-php-ext-configure pcntl --enable-pcntl - -RUN docker-php-ext-install pcntl - COPY . . COPY --from=composer /usr/local/src/vendor /usr/local/src/vendor From 2798963cc478f1d4993200f7ff3e1c89aa5e5381 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:17:43 +0545 Subject: [PATCH 02/12] Update php-8.0.Dockerfile --- php-8.0.Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/php-8.0.Dockerfile b/php-8.0.Dockerfile index c4651b3..a8d78f7 100644 --- a/php-8.0.Dockerfile +++ b/php-8.0.Dockerfile @@ -9,6 +9,12 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.0-0.1.0 as final +ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ + +RUN docker-php-ext-configure pcntl --enable-pcntl + +RUN docker-php-ext-install pcntl + WORKDIR /usr/local/src/ COPY . . From 1a58b72239137d99f5b0252b299189c605b16e78 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:20:11 +0545 Subject: [PATCH 03/12] Update php-8.1.Dockerfile --- php-8.1.Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/php-8.1.Dockerfile b/php-8.1.Dockerfile index 23c5cf0..21af3c2 100644 --- a/php-8.1.Dockerfile +++ b/php-8.1.Dockerfile @@ -7,15 +7,7 @@ COPY composer.json /usr/local/src/ RUN composer install --ignore-platform-reqs -FROM phpswoole/swoole:php8.1-alpine - -WORKDIR /usr/local/src/ - -RUN apk add autoconf build-base - -RUN docker-php-ext-enable redis - -ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ +FROM appwrite/utopia-base:php-8.1-0.1.0 as final RUN docker-php-ext-configure pcntl --enable-pcntl From 5681b5b69cc5ac55ec9d9507fc21ea962c18e39e Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:23:01 +0545 Subject: [PATCH 04/12] Update php-8.1.Dockerfile --- php-8.1.Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php-8.1.Dockerfile b/php-8.1.Dockerfile index 21af3c2..d780c07 100644 --- a/php-8.1.Dockerfile +++ b/php-8.1.Dockerfile @@ -9,6 +9,8 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.1-0.1.0 as final +ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ + RUN docker-php-ext-configure pcntl --enable-pcntl RUN docker-php-ext-install pcntl From e6da1339e8f9241fd9e83865c0fcb7c46aae1b19 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:23:19 +0545 Subject: [PATCH 05/12] Update php-8.2.Dockerfile --- php-8.2.Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/php-8.2.Dockerfile b/php-8.2.Dockerfile index 892f970..6b65856 100644 --- a/php-8.2.Dockerfile +++ b/php-8.2.Dockerfile @@ -7,13 +7,7 @@ COPY composer.json /usr/local/src/ RUN composer install --ignore-platform-reqs -FROM phpswoole/swoole:php8.2-alpine - -WORKDIR /usr/local/src/ - -RUN apk add autoconf build-base - -RUN docker-php-ext-enable redis +FROM appwrite/utopia-base:php-8.2-0.1.0 as final ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ From 45afe582d126adcb1dde3de401fb394cdbdbfa35 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:23:33 +0545 Subject: [PATCH 06/12] Update php-8.3.Dockerfile --- php-8.3.Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/php-8.3.Dockerfile b/php-8.3.Dockerfile index 8c7a739..ceb0333 100644 --- a/php-8.3.Dockerfile +++ b/php-8.3.Dockerfile @@ -7,13 +7,7 @@ COPY composer.json /usr/local/src/ RUN composer install --ignore-platform-reqs -FROM phpswoole/swoole:php8.3-alpine - -WORKDIR /usr/local/src/ - -RUN apk add autoconf build-base - -RUN docker-php-ext-enable redis +FROM appwrite/utopia-base:php-8.3-0.1.0 as final ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ From 2ad876d4d1e4f7aee132bc23d7b902a5f5327f8e Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:27:46 +0545 Subject: [PATCH 07/12] Update php-8.0.Dockerfile --- php-8.0.Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/php-8.0.Dockerfile b/php-8.0.Dockerfile index a8d78f7..ceb5bc3 100644 --- a/php-8.0.Dockerfile +++ b/php-8.0.Dockerfile @@ -9,8 +9,6 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.0-0.1.0 as final -ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ - RUN docker-php-ext-configure pcntl --enable-pcntl RUN docker-php-ext-install pcntl From b7703bb2084ba2cad3f3e03493c3beae62dc1a02 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:27:58 +0545 Subject: [PATCH 08/12] Update php-8.1.Dockerfile --- php-8.1.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-8.1.Dockerfile b/php-8.1.Dockerfile index d780c07..09df238 100644 --- a/php-8.1.Dockerfile +++ b/php-8.1.Dockerfile @@ -9,12 +9,12 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.1-0.1.0 as final -ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ - RUN docker-php-ext-configure pcntl --enable-pcntl RUN docker-php-ext-install pcntl +WORKDIR /usr/local/src/ + COPY . . COPY --from=composer /usr/local/src/vendor /usr/local/src/vendor From d4be0ed187b84fdfabeed84ad9830b1aa361a185 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:28:11 +0545 Subject: [PATCH 09/12] Update php-8.2.Dockerfile --- php-8.2.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-8.2.Dockerfile b/php-8.2.Dockerfile index 6b65856..9dc0d7e 100644 --- a/php-8.2.Dockerfile +++ b/php-8.2.Dockerfile @@ -9,12 +9,12 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.2-0.1.0 as final -ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ - RUN docker-php-ext-configure pcntl --enable-pcntl RUN docker-php-ext-install pcntl +WORKDIR /usr/local/src/ + COPY . . COPY --from=composer /usr/local/src/vendor /usr/local/src/vendor From 0ca2b9102dd036bbf559177cc6221093d937e3bd Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:28:27 +0545 Subject: [PATCH 10/12] Update php-8.3.Dockerfile --- php-8.3.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-8.3.Dockerfile b/php-8.3.Dockerfile index ceb0333..4f3affb 100644 --- a/php-8.3.Dockerfile +++ b/php-8.3.Dockerfile @@ -9,12 +9,12 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.3-0.1.0 as final -ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ - RUN docker-php-ext-configure pcntl --enable-pcntl RUN docker-php-ext-install pcntl +WORKDIR /usr/local/src/ + COPY . . COPY --from=composer /usr/local/src/vendor /usr/local/src/vendor From e84f0be2a27015cd3485cfa8cc1cd55033055e21 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:30:18 +0545 Subject: [PATCH 11/12] Update php-8.3.Dockerfile --- php-8.3.Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/php-8.3.Dockerfile b/php-8.3.Dockerfile index 4f3affb..7d00aa3 100644 --- a/php-8.3.Dockerfile +++ b/php-8.3.Dockerfile @@ -9,10 +9,6 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.3-0.1.0 as final -RUN docker-php-ext-configure pcntl --enable-pcntl - -RUN docker-php-ext-install pcntl - WORKDIR /usr/local/src/ COPY . . From 106f4420d2eaf240e37e94612e2e5a195f191b51 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 21 May 2024 11:31:33 +0545 Subject: [PATCH 12/12] Update php-8.3.Dockerfile --- php-8.3.Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/php-8.3.Dockerfile b/php-8.3.Dockerfile index 7d00aa3..4f3affb 100644 --- a/php-8.3.Dockerfile +++ b/php-8.3.Dockerfile @@ -9,6 +9,10 @@ RUN composer install --ignore-platform-reqs FROM appwrite/utopia-base:php-8.3-0.1.0 as final +RUN docker-php-ext-configure pcntl --enable-pcntl + +RUN docker-php-ext-install pcntl + WORKDIR /usr/local/src/ COPY . .