From 071c1aaec45888149ffec571bfff8ef98efcff5f Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Wed, 15 Jul 2020 23:59:50 +0000 Subject: [PATCH] [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 --- docker/php/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index b9bc9b646a..1aa5598200 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -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