|
|
@@ -6,7 +6,8 @@ RUN sed 's/main$/main universe/' -i /etc/apt/sources.list
|
|
|
RUN apt-get update && apt-get upgrade -y --no-install-recommends
|
|
|
|
|
|
### WKHTMLTOPDF
|
|
|
-RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential xorg iputils-ping libssl-dev libxrender-dev wget gdebi ca-certificates wget xz-utils libxrender1 libxt6 libxtst6 fontconfig zlib1g-dev libpng-dev
|
|
|
+RUN apt-get install -y build-essential xorg iputils-ping libssl-dev libxrender-dev wget gdebi ca-certificates wget xz-utils libxrender1 libxt6 libxtst6 fontconfig zlib1g-dev libpng-dev libicu-dev g++
|
|
|
+#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential xorg iputils-ping libssl-dev libxrender-dev wget gdebi ca-certificates wget xz-utils libxrender1 libxt6 libxtst6 fontconfig zlib1g-dev libpng-dev
|
|
|
|
|
|
RUN wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u11_amd64.deb
|
|
|
RUN dpkg -i libssl1.0.0_1.0.1t-1+deb8u11_amd64.deb
|
|
|
@@ -47,6 +48,8 @@ RUN docker-php-ext-enable exif
|
|
|
RUN docker-php-ext-install bcmath
|
|
|
RUN docker-php-ext-install calendar
|
|
|
RUN docker-php-ext-install gd
|
|
|
+RUN docker-php-ext-configure intl
|
|
|
+RUN docker-php-ext-install intl
|
|
|
|
|
|
RUN apt-get install -y procps
|
|
|
|
|
|
@@ -66,9 +69,23 @@ RUN apt-get install -y libmagickwand-dev imagemagick libtidy-dev \
|
|
|
RUN pecl install apcu-5.1.17
|
|
|
RUN pecl install apcu_bc
|
|
|
|
|
|
+# If you use Alpine, you need to set this value to "alpine"
|
|
|
+ENV current_os=linux
|
|
|
+RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
|
|
|
+ && curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/$current_os/amd64/$version \
|
|
|
+ && mkdir -p /tmp/blackfire \
|
|
|
+ && tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \
|
|
|
+ && mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \
|
|
|
+ && printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
|
|
|
+ && rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
|
|
|
+
|
|
|
+# Please note that the Blackfire Probe is dependent on the session module.
|
|
|
+# If it isn't present in your install, you will need # to enable it yourself.
|
|
|
+
|
|
|
COPY /.ssh /root/.ssh
|
|
|
COPY /docker/php/conf/memory.ini /usr/local/etc/php/conf.d
|
|
|
COPY /docker/php/conf/apc.ini /usr/local/etc/php/conf.d
|
|
|
+COPY /docker/php/conf/execution_time.ini /usr/local/etc/php/conf.d
|
|
|
|
|
|
WORKDIR /var/www/html
|
|
|
|