From 139946ed1ad1af291b696fae2ba19e102ab812c2 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 20 Jan 2020 14:28:58 +1100 Subject: [PATCH] Added phpredis --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5f44f3a..64dda36 100755 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,11 @@ RUN sed -i -e 's#^;sendmail_path =#sendmail_path = "/usr/bin/msmtp -t"#' /usr/lo EXPOSE 9000/tcp 22/tcp RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext + +# Enable phpredis +RUN pecl install -o -f igbinary && y | pecl install -o -f redis && docker-php-ext-enable redis igbinary && rm -f /tmp/* + +# Add composer RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer COPY init /sbin/