ENV EXT_REDIS_VERSION=5.3.7 ENV EXT_IGBINARY_VERSION=3.2.9 RUN docker-php-source extract \ # igbinary && mkdir -p /usr/src/php/ext/igbinary \ && curl -fsSL https://github.com/igbinary/igbinary/archive/$EXT_IGBINARY_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/igbinary --strip 1 \ && docker-php-ext-install igbinary \ # redis && mkdir -p /usr/src/php/ext/redis \ && curl -fsSL https://github.com/phpredis/phpredis/archive/$EXT_REDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \ && docker-php-ext-configure redis --enable-redis-igbinary \ && docker-php-ext-install redis \ # cleanup && docker-php-source delete
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter