Skip to content

Commit

Permalink
Redis with Igbinary Serializer: PHP 8.1 (#295)
Browse files Browse the repository at this point in the history
* Added PHP 7.4 / 8.0 Redis extension compiled to use Igbinary serializer

* Typo (double semi-colon)

* PHP 8.1 Redis-Igbinary layer tested PHP 81: tested locally and as public AWS Lambda layer ARN in Serverless deployment

* Updated bref Build Image Version
1.2.13 -> 1.3.3

* PHP 8.1 Redis-Igbinary layer tested PHP 81: tested locally and as public AWS Lambda layer ARN in Serverless deployment

* Updated bref Build Image Version
1.2.13 -> 1.3.3

* Updated bref Build Image Version
1.2.13 -> 1.3.3

* Typo (double semi-colon)

* PHP 8.1 Redis-Igbinary layer tested PHP 81: tested locally and as public AWS Lambda layer ARN in Serverless deployment

* Updated bref Build Image Version
1.2.13 -> 1.3.3

* Removed redundant pecl install param
  • Loading branch information
sbennett-ihasco authored Nov 30, 2021
1 parent 4482a3d commit 9db337a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions layers/redis-igbinary/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG PHP_VERSION
FROM bref/build-php-$PHP_VERSION:1.2.13 AS ext
FROM bref/build-php-$PHP_VERSION:1.3.3 AS ext

RUN pecl install igbinary && \
pecl install -D 'enable-redis-igbinary="yes" enable-redis-lzf="no" enable-redis-zstd="no"' redis && \
pecl install -D 'enable-redis-igbinary="yes"' redis && \
cp `php-config --extension-dir`/igbinary.so /tmp/igbinary.so && \
cp `php-config --extension-dir`/redis.so /tmp/redis.so && \
echo 'extension=/opt/bref-extra/igbinary.so' > /tmp/ext-igbinary.ini && \
Expand Down
3 changes: 2 additions & 1 deletion layers/redis-igbinary/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"php": [
"74",
"80"
"80",
"81"
]
}

0 comments on commit 9db337a

Please sign in to comment.