Added phpredis
This commit is contained in:
parent
41b4b633e2
commit
139946ed1a
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user