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
c549bea4a9
commit
071c1aaec4
@ -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