Sign inSign up

shuimengzhi/php72_tideways

By shuimengzhi

•Updated almost 5 years ago

Image
0

46

shuimengzhi/php72_tideways repository overview

FROM webdevops/php:7.2

ENV VERSION 5.0.4

RUN apt-get update && apt-get install -y wget libcurl4-openssl-dev pkg-config libssl-dev libmcrypt-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 mcrypt-1.0.4 \
&& docker-php-ext-enable tideways_xhprof mcrypt \
&& rm -r tideways-xhprof

Tag summary

Content type

Image

Digest

Size

369.6 MB

Last updated

almost 5 years ago

docker pull shuimengzhi/php72_tideways:1.1