Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
build:
uses: Ilyes512/github-actions/.github/workflows/build-php.yml@1.0.2
uses: Ilyes512/github-actions/.github/workflows/build-php.yml@1.0.3
strategy:
fail-fast: false
matrix:
Expand All @@ -36,7 +36,7 @@ jobs:
dockerfile: ${{ matrix.docker.dockerfile }}

merge:
uses: Ilyes512/github-actions/.github/workflows/merge-php.yml@1.0.2
uses: Ilyes512/github-actions/.github/workflows/merge-php.yml@1.0.3
needs: build
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
build:
uses: Ilyes512/github-actions/.github/workflows/build-php.yml@1.0.2
uses: Ilyes512/github-actions/.github/workflows/build-php.yml@1.0.3
strategy:
fail-fast: false
matrix:
Expand All @@ -35,7 +35,7 @@ jobs:
dockerfile: ${{ matrix.docker.dockerfile }}

merge:
uses: Ilyes512/github-actions/.github/workflows/merge-php.yml@1.0.2
uses: Ilyes512/github-actions/.github/workflows/merge-php.yml@1.0.3
needs: build
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
build:
uses: Ilyes512/github-actions/.github/workflows/build-php.yml@1.0.2
uses: Ilyes512/github-actions/.github/workflows/build-php.yml@1.0.3
strategy:
fail-fast: false
matrix:
Expand All @@ -36,7 +36,7 @@ jobs:
dockerfile: ${{ matrix.docker.dockerfile }}

merge:
uses: Ilyes512/github-actions/.github/workflows/merge-php.yml@1.0.2
uses: Ilyes512/github-actions/.github/workflows/merge-php.yml@1.0.3
needs: build
strategy:
matrix:
Expand Down
20 changes: 16 additions & 4 deletions apache/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Latest version of PHP base image: https://hub.docker.com/_/php?tab=tags
FROM php:8.4.4-apache-bookworm AS runtime
FROM php:8.4.5-apache-bookworm AS runtime

ARG UNIQUE_ID_FOR_CACHEFROM=runtime

Expand All @@ -8,7 +8,9 @@ ARG PHP_EVENT_VERSION=3.1.4
# Latest version of igbinary-extension: https://pecl.php.net/package/igbinary
ARG PHP_IGBINARY_VERSION=3.2.16
# Latest version of redis-extension: https://pecl.php.net/package/redis
ARG PHP_REDIS_VERSION=6.1.0
ARG PHP_REDIS_VERSION=6.2.0
# Latest version of memcached-extension: https://pecl.php.net/package/memcached
ARG PHP_MEMCACHED_VERSION=3.3.0
# Latest version of amqp-extension: https://pecl.php.net/package/amqp
ARG PHP_AMQP_VERSION=2.1.2

Expand Down Expand Up @@ -43,6 +45,9 @@ RUN apt-get update \
librabbitmq4 \
# Dependency of PHP xsl-extension
libxslt1.1 \
# Dependency of PHP memcached-extension
libmemcached11 \
zlib1g \
# Install packages that are needed for building PHP extensions
&& apt-get install --assume-yes --no-install-recommends \
$PHPIZE_DEPS \
Expand All @@ -66,6 +71,9 @@ RUN apt-get update \
librabbitmq-dev \
# Dependency of PHP xsl-extension
libxslt1-dev \
# Dependency of PHP memcached-extension
libmemcached-dev \
zlib1g-dev \
# Configure PHP gd-extension
&& docker-php-ext-configure gd \
--enable-gd \
Expand All @@ -90,11 +98,13 @@ RUN apt-get update \
# Optional dependency of PHP redis-extension
&& pecl install "igbinary-$PHP_IGBINARY_VERSION" \
&& pecl install --configureoptions 'enable-redis-igbinary="yes"' "redis-$PHP_REDIS_VERSION" \
&& pecl install --configureoptions 'enable-memcached-igbinary="yes"' "memcached-$PHP_MEMCACHED_VERSION" \
&& pecl install "amqp-$PHP_AMQP_VERSION" \
&& docker-php-ext-enable --ini-name docker-php-ext-zz-custom.ini \
event \
igbinary \
redis \
memcached \
amqp \
&& cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
# Purge packages that where only needed for building php extensions
Expand All @@ -111,6 +121,8 @@ RUN apt-get update \
libxml2-dev \
libpq-dev \
librabbitmq-dev \
libmemcached-dev \
zlib1g-dev \
# Cleanup
&& rm -rf /var/www/* \
&& apt-get autoremove --assume-yes \
Expand All @@ -127,9 +139,9 @@ ARG UNIQUE_ID_FOR_CACHEFROM=builder
# Latest version of Phive: https://api.github.com/repos/phar-io/phive/releases/latest
ARG PHIVE_VERSION=0.15.3
# Latest version of Composer: https://getcomposer.org/download
ARG COMPOSER_VERSION=2.8.5
ARG COMPOSER_VERSION=2.8.6
# Latest version of Xdebug: https://github.com/xdebug/xdebug/tags or https://pecl.php.net/package/xdebug
ARG XDEBUG_VERSION=3.4.1
ARG XDEBUG_VERSION=3.4.2
# Latest version of pcov: https://github.com/krakjoe/pcov/tags or https://pecl.php.net/package/pcov
ARG PCOV_VERSION=1.0.12

Expand Down
20 changes: 16 additions & 4 deletions fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Latest version of PHP base image: https://hub.docker.com/_/php?tab=tags
FROM php:8.4.4-fpm-bookworm AS runtime
FROM php:8.4.5-fpm-bookworm AS runtime

ARG UNIQUE_ID_FOR_CACHEFROM=runtime

Expand All @@ -8,7 +8,9 @@ ARG PHP_EVENT_VERSION=3.1.4
# Latest version of igbinary-extension: https://pecl.php.net/package/igbinary
ARG PHP_IGBINARY_VERSION=3.2.16
# Latest version of redis-extension: https://pecl.php.net/package/redis
ARG PHP_REDIS_VERSION=6.1.0
ARG PHP_REDIS_VERSION=6.2.0
# Latest version of memcached-extension: https://pecl.php.net/package/memcached
ARG PHP_MEMCACHED_VERSION=3.3.0
# Latest version of amqp-extension: https://pecl.php.net/package/amqp
ARG PHP_AMQP_VERSION=2.1.2

Expand Down Expand Up @@ -43,6 +45,9 @@ RUN apt-get update \
librabbitmq4 \
# Dependency of PHP xsl-extension
libxslt1.1 \
# Dependency of PHP memcached-extension
libmemcached11 \
zlib1g \
# Install packages that are needed for building PHP extensions
&& apt-get install --assume-yes --no-install-recommends \
$PHPIZE_DEPS \
Expand All @@ -66,6 +71,9 @@ RUN apt-get update \
librabbitmq-dev \
# Dependency of PHP xsl-extension
libxslt1-dev \
# Dependency of PHP memcached-extension
libmemcached-dev \
zlib1g-dev \
# Configure PHP gd-extension
&& docker-php-ext-configure gd \
--enable-gd \
Expand All @@ -90,11 +98,13 @@ RUN apt-get update \
# Optional dependency of PHP redis-extension
&& pecl install "igbinary-$PHP_IGBINARY_VERSION" \
&& pecl install --configureoptions 'enable-redis-igbinary="yes"' "redis-$PHP_REDIS_VERSION" \
&& pecl install --configureoptions 'enable-memcached-igbinary="yes"' "memcached-$PHP_MEMCACHED_VERSION" \
&& pecl install "amqp-$PHP_AMQP_VERSION" \
&& docker-php-ext-enable --ini-name docker-php-ext-zz-custom.ini \
event \
igbinary \
redis \
memcached \
amqp \
&& cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
# Purge packages that where only needed for building php extensions
Expand All @@ -111,6 +121,8 @@ RUN apt-get update \
libxml2-dev \
libpq-dev \
librabbitmq-dev \
libmemcached-dev \
zlib1g-dev \
# Cleanup
&& rm -rf /var/www/* \
&& apt-get autoremove --assume-yes \
Expand All @@ -127,9 +139,9 @@ ARG UNIQUE_ID_FOR_CACHEFROM=builder
# Latest version of Phive: https://api.github.com/repos/phar-io/phive/releases/latest
ARG PHIVE_VERSION=0.15.3
# Latest version of Composer: https://getcomposer.org/download
ARG COMPOSER_VERSION=2.8.5
ARG COMPOSER_VERSION=2.8.6
# Latest version of Xdebug: https://github.com/xdebug/xdebug/tags or https://pecl.php.net/package/xdebug
ARG XDEBUG_VERSION=3.4.1
ARG XDEBUG_VERSION=3.4.2
# Latest version of pcov: https://github.com/krakjoe/pcov/tags or https://pecl.php.net/package/pcov
ARG PCOV_VERSION=1.0.12

Expand Down