Added phpredis

This commit is contained in:
Deon George 2020-01-20 14:28:58 +11:00
parent 41b4b633e2
commit 139946ed1a

View File

@ -26,6 +26,11 @@ RUN sed -i -e 's#^;sendmail_path =#sendmail_path = "/usr/bin/msmtp -t"#' /usr/lo
EXPOSE 9000/tcp 22/tcp EXPOSE 9000/tcp 22/tcp
RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext 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 RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
COPY init /sbin/ COPY init /sbin/