forked from GNUsocial/gnu-social
[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:
parent
62c9b56b3f
commit
04b0d63d43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user