FROM php:7.3-fpm
ENV VERSION 5.0.4
RUN apt-get update && apt-get install -y wget libcurl4-openssl-dev pkg-config libssl-dev \
&& wget https://github.com/tideways/php-xhprof-extension/archive/refs/tags/v${VERSION}.tar.gz -O tideways-xhprof.tar.gz \
&& mkdir -p tideways-xhprof \
&& tar zxvf tideways-xhprof.tar.gz -C tideways-xhprof --strip-components=1 \
&& rm tideways-xhprof.tar.gz \
&& ( \
cd tideways-xhprof \
&& phpize \
&& ./configure --enable-openssl \
&& make \
&& make install \
) \
&& pecl install mongodb \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-enable tideways_xhprof mongodb pdo_mysql \
&& rm -r tideways-xhprof
Content type
Image
Digest
Size
159.1 MB
Last updated
over 5 years ago
docker pull shuimengzhi/php-tideways:5.0