File tree Expand file tree Collapse file tree 7 files changed +92
-4184
lines changed Expand file tree Collapse file tree 7 files changed +92
-4184
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,10 @@ RUN apt-get install -y php-pear php7.1-common php7.1-cli php7.1-dev php7.1-mbstr
2525 zlib1g-dev libicu-dev libpq-dev libxml2-dev libmagickwand-dev graphviz
2626
2727RUN pecl channel-update pecl.php.net && pecl install redis apcu imagick mongodb
28- # && echo "extension=mongodb.so" >> /usr/local/etc/php/conf.d/mongodb.ini
2928
3029# XHProf
31- # RUN mkdir /tmp/xhprof && mkdir -p /var/www && cd /var/www && git clone https://github.com/longxinH/xhprof \
32- # && cd xhprof/extension && phpize && ./configure && make && make install
30+ RUN mkdir /tmp/xhprof && mkdir -p /var/www && cd /var/www && git clone https://github.com/longxinH/xhprof \
31+ && cd xhprof/extension && phpize && ./configure && make && make install
3332
3433# Nginx && Supervisor
3534RUN apt-get -y install nginx supervisor
@@ -42,14 +41,6 @@ RUN mkdir -p /var/run/php
4241# composer
4342RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
4443
45- # phpunit
46- RUN wget https://phar.phpunit.de/phpunit.phar \
47- && chmod +x phpunit.phar && mv phpunit.phar /usr/local/bin/phpunit
48-
49- # codeception
50- RUN curl -LsS http://codeception.com/codecept.phar -o /usr/local/bin/codecept \
51- && chmod +x /usr/local/bin/codecept
52-
5344# Clean all
5445RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
5546
Original file line number Diff line number Diff line change 1+ ; General settings
2+
3+ date.timezone = UTC
4+
5+ memory_limit = 768M
6+
7+ ; Error reporting
8+
9+ display_errors = On
10+ display_startup_errors = On
11+ error_reporting = E_ALL
12+
13+ [xhprof]
14+ extension = xhprof.so
15+ xhprof.output_dir = /tmp
16+
17+ [mongo]
18+ extension =mongodb.so
You can’t perform that action at this time.
0 commit comments