Compare commits

...

9 Commits

Author SHA1 Message Date
David Bomba
c2bf3ca8d9 Merge pull request #709 from turbo124/octane
Change context dir from ./debian to debian
2025-01-24 14:28:42 +11:00
David Bomba
1c3f96e723 Change context dir from ./debian to debian 2025-01-24 14:28:11 +11:00
David Bomba
2364f53777 Merge pull request #708 from turbo124/octane
Debug php extension installer
2025-01-24 13:57:28 +11:00
David Bomba
7bfbe9ee03 Install each extension individually to identify the root cause 2025-01-24 13:56:44 +11:00
David Bomba
afd597456f Minor fixes for build files 2025-01-24 13:36:58 +11:00
David Bomba
243f46bd23 Merge pull request #707 from turbo124/octane
Fixes for php extension installer
2025-01-24 13:35:26 +11:00
David Bomba
6dfaa3b441 Fixes for php extension installer 2025-01-24 13:34:52 +11:00
David Bomba
6d0e0648e3 Fixes for php extension installer 2025-01-24 12:58:47 +11:00
David Bomba
85979fdcf2 Require mbstring 2025-01-24 09:22:36 +11:00
3 changed files with 16 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
name: Build Debian OctaneContainer Image name: Build Debian Octane Container Image
on: on:
pull_request: pull_request:

View File

@@ -12,11 +12,11 @@ jobs:
matrix: matrix:
include: include:
- image: invoiceninja/invoiceninja-octane - image: invoiceninja/invoiceninja-octane
context: ./debian context: debian
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 # Updated from v2 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0

17
debian/Dockerfile vendored
View File

@@ -61,10 +61,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install PHP extensions # Install PHP extensions
RUN install-php-extensions \ COPY --from=ghcr.io/mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
${php_require} \
${php_suggest} \ RUN install-php-extensions bcmath && \
${php_extra} 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 # Configure PHP
RUN ln -s "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" RUN ln -s "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini"