From afd597456f343bed151b7c0d5dc3cac38b2dfcf0 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 24 Jan 2025 13:36:58 +1100 Subject: [PATCH 1/2] Minor fixes for build files --- .github/workflows/build-image-debian.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-image-debian.yaml b/.github/workflows/build-image-debian.yaml index 8dc77b2..90cac08 100644 --- a/.github/workflows/build-image-debian.yaml +++ b/.github/workflows/build-image-debian.yaml @@ -1,4 +1,4 @@ -name: Build Debian OctaneContainer Image +name: Build Debian Octane Container Image on: pull_request: From 7bfbe9ee037a26f3845b9f8c38eda081f4d3ff07 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 24 Jan 2025 13:56:44 +1100 Subject: [PATCH 2/2] Install each extension individually to identify the root cause --- debian/Dockerfile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/debian/Dockerfile b/debian/Dockerfile index a2ee5bd..6b3ca4c 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -63,11 +63,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Install PHP extensions COPY --from=ghcr.io/mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ -RUN install-php-extensions \ - ${php_require} \ - ${php_suggest} \ - ${php_extra} - +RUN install-php-extensions bcmath && \ + install-php-extensions gd && \ + install-php-extensions pdo_mysql && \ + install-php-extensions zip && \ + install-php-extensions exif && \ + install-php-extensions imagick && \ + install-php-extensions intl && \ + install-php-extensions pcntl && \ + install-php-extensions soap && \ + install-php-extensions saxon-12.5.0 && \ + install-php-extensions opcache # Configure PHP RUN ln -s "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini"