[DOCKER] Updated php image so redis is compiled with LZ4 compression available, as it's the fastest at decompressing and really fast at compressing. Read performance is more important, with this being used as a cache

This commit is contained in:
Hugo Sales 2020-07-15 23:59:50 +00:00 committed by Hugo Sales
parent 62c9b56b3f
commit 04b0d63d43
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ RUN apk add --virtual .phpize-deps $PHPIZE_DEPS \
&& cd /tmp && git clone https://github.com/msgpack/msgpack-php && cd msgpack-php \
&& phpize && ./configure && make && make install \
&& cd /tmp && git clone https://github.com/phpredis/phpredis && cd phpredis \
&& phpize && ./configure --enable-redis-msgpack --enable-redis-lzf && make && make install \
&& phpize && ./configure --enable-redis-msgpack --enable-redis-lz4 && make && make install \
&& rm -rf /usr/share/php7 \
&& rm -rf /tmp/* \
&& apk del .phpize-deps > /dev/null