Skip to content

Commit

Permalink
feat: Redis ext install
Browse files Browse the repository at this point in the history
================> EXTRAS <================
> Branch name:	main
  • Loading branch information
devdrops committed Apr 5, 2024
1 parent c70c2c6 commit 4ce11c0
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 41 deletions.
3 changes: 2 additions & 1 deletion 7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# - Composer
# - Composer configuration
# - Composer tools
# - Swoole
# - Redis
# - Xdebug (optional)
RUN <<EOF
sh /config/alpine/dependencies.sh
sh /config/php/extensions.sh
sh /config/composer/install.sh
sh /config/composer/config.sh
sh /config/composer/install-tools.sh
sh /config/redis/install.sh
if [ "$INSTALL_XDEBUG" = "true" ]; then sh /config/xdebug/install.sh ; fi
EOF
14 changes: 7 additions & 7 deletions 7.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
|TOOL|RELEASE|
|:---|:------|
|PHP|PHP 7.4.33 (cli) (built: Nov 12 2022 09:17:36) ( NTS )|
|Composer|Composer version 2.7.1 2024-02-09 15:26:28|
|phpunit/phpunit|PHPUnit 9.6.17 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.0 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.51.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.|
|Composer|Composer version 2.7.2 2024-03-11 17:12:18|
|phpunit/phpunit|PHPUnit 9.6.19 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.1 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.52.1 15 Keys by Fabien Potencier, Dariusz Ruminski and contributors.|
|phpmd/phpmd|PHPMD 2.15.0|
|behat/behat|behat 3.13.0|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.60|
|vimeo/psalm|Psalm 5.22.2@d768d914152dbbf3486c36398802f74e80cfde48|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.66|
|vimeo/psalm|Psalm 5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4|
|icanhazstring/composer-unused|0.8.11@4720206|
|Rector|Rector 1.0.2|
|Rector|Rector 1.0.4|
|PHPArkitect|PHPArkitect version 0.3.29|
|phpspec|phpspec 7.5.0|
|Codeception|Codeception 4.2.2|
Expand Down
8 changes: 8 additions & 0 deletions 7.4/helpers/redis/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
#############################################
# Redis extension installer
#############################################

pecl install -o -f redis
docker-php-ext-enable redis
rm -rf /tmp/pear
2 changes: 2 additions & 0 deletions 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# - Composer configuration
# - Composer tools
# - Swoole
# - Redis
# - Xdebug (optional)
RUN <<EOF
sh /config/alpine/dependencies.sh
Expand All @@ -48,5 +49,6 @@ sh /config/composer/install.sh
sh /config/composer/config.sh
sh /config/composer/install-tools.sh
sh /config/swoole/install.sh
sh /config/redis/install.sh
if [ "$INSTALL_XDEBUG" = "true" ]; then sh /config/xdebug/install.sh ; fi
EOF
12 changes: 6 additions & 6 deletions 8.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
|TOOL|RELEASE|
|:---|:------|
|PHP|PHP 8.0.30 (cli) (built: Oct 21 2023 06:13:34) ( NTS )|
|Composer|Composer version 2.7.1 2024-02-09 15:26:28|
|phpunit/phpunit|PHPUnit 9.6.17 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.0 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.51.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.|
|Composer|Composer version 2.7.2 2024-03-11 17:12:18|
|phpunit/phpunit|PHPUnit 9.6.19 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.1 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.52.1 15 Keys by Fabien Potencier, Dariusz Ruminski and contributors.|
|phpmd/phpmd|PHPMD 2.15.0|
|behat/behat|behat 3.13.0|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.60|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.66|
|vimeo/psalm|Psalm 5.22.2@d768d914152dbbf3486c36398802f74e80cfde48|
|icanhazstring/composer-unused|0.8.11@4720206|
|Rector|Rector 1.0.2|
|Rector|Rector 1.0.4|
|PHPArkitect|PHPArkitect version 0.3.29|
|Codeception|Codeception 5.1.2|
|Infection|Infection - PHP Mutation Testing Framework version 0.26.19|
Expand Down
8 changes: 8 additions & 0 deletions 8.0/helpers/redis/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
#############################################
# Redis extension installer
#############################################

pecl install -o -f redis
docker-php-ext-enable redis
rm -rf /tmp/pear
2 changes: 2 additions & 0 deletions 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# - Composer configuration
# - Composer tools
# - Swoole
# - Redis
# - Xdebug (optional)
RUN <<EOF
sh /config/alpine/dependencies.sh
Expand All @@ -52,5 +53,6 @@ sh /config/composer/install.sh
sh /config/composer/config.sh
sh /config/composer/install-tools.sh
sh /config/swoole/install.sh
sh /config/redis/install.sh
if [ "$INSTALL_XDEBUG" = "true" ]; then sh /config/xdebug/install.sh ; fi
EOF
18 changes: 9 additions & 9 deletions 8.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

|TOOL|RELEASE|
|:---|:------|
|PHP|PHP 8.1.27 (cli) (built: Jan 27 2024 05:13:38) (NTS)|
|Composer|Composer version 2.7.1 2024-02-09 15:26:28|
|phpunit/phpunit|PHPUnit 10.5.11 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.0 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.51.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.|
|PHP|PHP 8.1.27 (cli) (built: Mar 16 2024 02:05:39) (NTS)|
|Composer|Composer version 2.7.2 2024-03-11 17:12:18|
|phpunit/phpunit|PHPUnit 10.5.17 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.1 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.52.1 15 Keys by Fabien Potencier, Dariusz Ruminski and contributors.|
|phpmd/phpmd|PHPMD 2.15.0|
|behat/behat|behat 3.13.0|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.59|
|vimeo/psalm|Psalm 5.22.2@d768d914152dbbf3486c36398802f74e80cfde48|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.66|
|vimeo/psalm|Psalm 5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4|
|icanhazstring/composer-unused|0.8.11@4720206|
|Rector|Rector 1.0.2|
|Rector|Rector 1.0.4|
|PHPArkitect|PHPArkitect version 0.3.29|
|Codeception|Codeception 5.1.2|
|Infection|Infection - PHP Mutation Testing Framework version 0.27.10|
|Infection|Infection - PHP Mutation Testing Framework version 0.27.11|
|Deptrac|deptrac 1.0.2|
|PhpMetrics|PhpMetrics v2.8.2 <http://www.phpmetrics.org> by Jean-François Lépine <https://twitter.com/Halleck45>|
|PDepend|PDepend 2.16.2|
Expand Down
8 changes: 8 additions & 0 deletions 8.1/helpers/redis/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
#############################################
# Redis extension installer
#############################################

pecl install -o -f redis
docker-php-ext-enable redis
rm -rf /tmp/pear
2 changes: 2 additions & 0 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# - Composer configuration
# - Composer tools
# - Swoole
# - Redis
# - Xdebug (optional)
RUN <<EOF
sh /config/alpine/dependencies.sh
Expand All @@ -48,5 +49,6 @@ sh /config/composer/install.sh
sh /config/composer/config.sh
sh /config/composer/install-tools.sh
sh /config/swoole/install.sh
sh /config/redis/install.sh
if [ "$INSTALL_XDEBUG" = "true" ]; then sh /config/xdebug/install.sh ; fi
EOF
18 changes: 9 additions & 9 deletions 8.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

|TOOL|RELEASE|
|:---|:------|
|PHP|PHP 8.2.16 (cli) (built: Feb 16 2024 22:19:12) (NTS)|
|Composer|Composer version 2.7.1 2024-02-09 15:26:28|
|phpunit/phpunit|PHPUnit 10.5.11 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.0 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.51.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.|
|PHP|PHP 8.2.17 (cli) (built: Mar 16 2024 01:37:40) (NTS)|
|Composer|Composer version 2.7.2 2024-03-11 17:12:18|
|phpunit/phpunit|PHPUnit 10.5.17 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.1 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.52.1 15 Keys by Fabien Potencier, Dariusz Ruminski and contributors.|
|phpmd/phpmd|PHPMD 2.15.0|
|behat/behat|behat 3.13.0|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.60|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.66|
|icanhazstring/composer-unused|0.8.11@4720206|
|vimeo/psalm|Psalm 5.22.2@d768d914152dbbf3486c36398802f74e80cfde48|
|Rector|Rector 1.0.2|
|vimeo/psalm|Psalm 5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4|
|Rector|Rector 1.0.4|
|PHPArkitect|PHPArkitect version 0.3.29|
|Codeception|Codeception 5.1.2|
|Infection|Infection - PHP Mutation Testing Framework version 0.27.10|
|Infection|Infection - PHP Mutation Testing Framework version 0.27.11|
|Deptrac|deptrac 1.0.2|
|PhpMetrics|PhpMetrics v2.8.2 <http://www.phpmetrics.org> by Jean-François Lépine <https://twitter.com/Halleck45>|
|PDepend|PDepend 2.16.2|
Expand Down
8 changes: 8 additions & 0 deletions 8.2/helpers/redis/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
#############################################
# Redis extension installer
#############################################

pecl install -o -f redis
docker-php-ext-enable redis
rm -rf /tmp/pear
2 changes: 2 additions & 0 deletions 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# - Composer configuration
# - Composer tools
# - Swoole
# - Redis
# - Xdebug (optional)
RUN <<EOF
sh /config/alpine/dependencies.sh
Expand All @@ -48,5 +49,6 @@ sh /config/composer/install.sh
sh /config/composer/config.sh
sh /config/composer/install-tools.sh
sh /config/swoole/install.sh
sh /config/redis/install.sh
if [ "$INSTALL_XDEBUG" = "true" ]; then sh /config/xdebug/install.sh ; fi
EOF
18 changes: 9 additions & 9 deletions 8.3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@

|TOOL|RELEASE|
|:---|:------|
|PHP|PHP 8.3.3 (cli) (built: Feb 16 2024 21:25:21) (NTS)|
|Composer|Composer version 2.7.1 2024-02-09 15:26:28|
|phpunit/phpunit|PHPUnit 10.5.11 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.0 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.51.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.|
|PHP|PHP 8.3.4 (cli) (built: Mar 16 2024 00:35:14) (NTS)|
|Composer|Composer version 2.7.2 2024-03-11 17:12:18|
|phpunit/phpunit|PHPUnit 10.5.17 by Sebastian Bergmann and contributors.|
|phpcsstandards/php_codesniffer|PHP_CodeSniffer version 3.9.1 (stable) by Squiz and PHPCSStandards|
|friendsofphp/php-cs-fixer|PHP CS Fixer 3.52.1 15 Keys by Fabien Potencier, Dariusz Ruminski and contributors.|
|phpmd/phpmd|PHPMD 2.15.0|
|behat/behat|behat 3.13.0|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.60|
|vimeo/psalm|Psalm 5.22.2@d768d914152dbbf3486c36398802f74e80cfde48|
|phpstan/phpstan|PHPStan - PHP Static Analysis Tool 1.10.66|
|vimeo/psalm|Psalm 5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4|
|icanhazstring/composer-unused|0.8.11@4720206|
|Rector|Rector 1.0.2|
|Rector|Rector 1.0.4|
|PHPArkitect|PHPArkitect version 0.3.29|
|Codeception|Codeception 5.1.2|
|Infection|Infection - PHP Mutation Testing Framework version 0.27.10|
|Infection|Infection - PHP Mutation Testing Framework version 0.27.11|
|Deptrac|deptrac 1.0.2|
|PhpMetrics|PhpMetrics v2.8.2 <http://www.phpmetrics.org> by Jean-François Lépine <https://twitter.com/Halleck45>|
|PDepend|PDepend 2.16.2|
Expand Down
8 changes: 8 additions & 0 deletions 8.3/helpers/redis/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
#############################################
# Redis extension installer
#############################################

pecl install -o -f redis
docker-php-ext-enable redis
rm -rf /tmp/pear

0 comments on commit 4ce11c0

Please sign in to comment.