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 a341a74
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 1 deletion.
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
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
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
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
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
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 a341a74

Please sign in to comment.