Compare commits

...

6 Commits

Author SHA1 Message Date
David Bomba
9d99120693 Merge pull request #713 from turbo124/debian
Fixes for publish image regression - force 22.04
2025-01-24 16:12:59 +11:00
David Bomba
a5204ccb7d Fixes for publish image regression - force 22.04 2025-01-24 16:12:25 +11:00
David Bomba
995d70ab60 Merge pull request #706 from turbo124/debian
Fixes for php extension installer
2025-01-24 12:59:21 +11:00
David Bomba
11855e0701 Fixes for php extension installer 2025-01-24 12:58:04 +11:00
David Bomba
42816b6282 Require mbstring 2025-01-24 09:23:10 +11:00
David Bomba
2ad607fa2d Create auto-close-issues.yml
Signed-off-by: David Bomba <turbo124@gmail.com>
2025-01-21 13:47:56 +11:00
4 changed files with 27 additions and 4 deletions

21
.github/workflows/auto-close-issues.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Close stale issues after 5 days
on:
schedule:
# Run this workflow every day at midnight
- cron: '0 0 * * *'
jobs:
close-stale-issues:
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically closed due to inactivity for 5 days."
days-before-stale: 4 # Number of days before marking an issue as stale
days-before-close: 1 # Number of days after being marked stale before closing
stale-label: "stale" # Label to add to stale issues
exempt-issue-labels: "keep-open,triage,bug" # Prevents issues with this label from being closed
only-issues: true # Only affects issues, not pull requests

View File

@@ -12,7 +12,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

View File

@@ -7,7 +7,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
include:

6
debian/Dockerfile vendored
View File

@@ -20,7 +20,7 @@ RUN curl -s "https://api.github.com/repos/invoiceninja/invoiceninja/releases/lat
FROM php:${PHP}-fpm
# PHP modules
ARG php_require="bcmath gd pdo_mysql zip"
ARG php_require="bcmath gd pdo_mysql zip mbstring"
ARG php_suggest="exif imagick intl pcntl soap saxon-12.5.0"
ARG php_extra="opcache"
@@ -56,7 +56,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# Install PHP extensions
RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
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}