File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -364,21 +364,10 @@ ARG INSTALL_MEMCACHED=false
364364RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
365365 # Install the php memcached extension
366366 if [ $(php -r "echo PHP_MAJOR_VERSION;" ) = "5" ]; then \
367- curl -L -o /tmp/ memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/ 2.2.0.tar.gz" ; \
367+ pecl install memcached- 2.2.0
368368 else \
369- curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/master.tar.gz" ; \
370- fi \
371- && mkdir -p memcached \
372- && tar -C memcached -zxvf /tmp/memcached.tar.gz --strip 1 \
373- && ( \
374- cd memcached \
375- && phpize \
376- && ./configure \
377- && make -j$(nproc) \
378- && make install \
379- ) \
380- && rm -r memcached \
381- && rm /tmp/memcached.tar.gz \
369+ pecl install memcached-3.1.3
370+ fi
382371 && docker-php-ext-enable memcached \
383372;fi
384373
You can’t perform that action at this time.
0 commit comments