[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 c549bea4a9
commit 071c1aaec4
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
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