|
@@ -37,6 +37,7 @@ RUN apt-get update && apt-get install -y \
|
|
strace \
|
|
strace \
|
|
vim \
|
|
vim \
|
|
zip \
|
|
zip \
|
|
|
|
+ zlib1g-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
RUN pecl channel-update pecl.php.net && pecl install \
|
|
RUN pecl channel-update pecl.php.net && pecl install \
|
|
@@ -84,10 +85,18 @@ RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
|
|
&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get ('extension_dir');")/blackfire.so \
|
|
&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get ('extension_dir');")/blackfire.so \
|
|
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
|
|
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
|
|
|
|
|
|
|
|
+RUN git clone --branch v0.4.15 --depth=1 https://github.com/NoiseByNorthwest/php-spx.git /usr/lib/php-spx \
|
|
|
|
+ && cd /usr/lib/php-spx \
|
|
|
|
+ && phpize \
|
|
|
|
+ && ./configure \
|
|
|
|
+ && make \
|
|
|
|
+ && make install
|
|
|
|
+
|
|
RUN curl -sS https://getcomposer.org/installer | \
|
|
RUN curl -sS https://getcomposer.org/installer | \
|
|
php -- --install-dir=/usr/local/bin --filename=composer
|
|
php -- --install-dir=/usr/local/bin --filename=composer
|
|
|
|
|
|
COPY conf/blackfire.ini $PHP_INI_DIR/conf.d/blackfire.ini
|
|
COPY conf/blackfire.ini $PHP_INI_DIR/conf.d/blackfire.ini
|
|
|
|
+COPY conf/spx.ini $PHP_INI_DIR/conf.d/spx.ini
|
|
COPY conf/msmtprc /etc/msmtprc
|
|
COPY conf/msmtprc /etc/msmtprc
|
|
COPY conf/php.ini $PHP_INI_DIR
|
|
COPY conf/php.ini $PHP_INI_DIR
|
|
COPY conf/php-fpm.conf /usr/local/etc/
|
|
COPY conf/php-fpm.conf /usr/local/etc/
|