Commit d9c14465 authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

adding redis to php8

parent 0e44e0b0
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......@@ -32,7 +32,11 @@ RUN set -xe \
postgresql-client \
postgresql-dev \
openssh-client \
&& apk --update --no-cache add grep \
libzip-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......@@ -32,7 +32,11 @@ RUN set -xe \
postgresql-client \
postgresql-dev \
openssh-client \
&& apk --update --no-cache add grep \
libzip-dev \
&& apk --update --no-cache add grep \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
......
......@@ -3,7 +3,7 @@ MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
PHPREDIS_VERSION=5.1.1
PHPREDIS_VERSION=5.3.2
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
RUN set -xe \
......@@ -36,7 +36,7 @@ RUN set -xe \
libmcrypt-dev \
libmcrypt \
{% endif %}
{% if isPHP73 or isPHP74 %}
{% if isPHP73 or isPHP74 or isPHP80 %}
libzip-dev \
{% endif %}
{% if isPHP74 %}
......@@ -44,11 +44,11 @@ RUN set -xe \
oniguruma-dev \
{% endif %}
&& apk --update --no-cache add grep \
{% if not isPHP80 %}
{# if not isPHP80 #}
&& mkdir -p /usr/src/php/ext/redis \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
{% endif %}
{# endif #}
{% if not isPHP74 and not isPHP80 %}
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment