From 41f882ebb526affd4da056adc446c133bc7bc497 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Wed, 15 Jun 2016 12:42:04 -0400 Subject: [PATCH] Add zendopcache --- base/Dockerfile | 4 +++- base/alpine/Dockerfile | 2 ++ base/php5-alpine/Dockerfile | 2 ++ base/php5/Dockerfile | 4 +++- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index 72104e3..153997c 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -26,7 +26,9 @@ RUN docker-php-ext-install mcrypt zip bz2 mbstring pcntl xsl \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ - && docker-php-ext-install ldap + && docker-php-ext-install ldap && \ + # Install ZendOpcache opcode + pecl install zendopcache-7.0.4 # Memory Limit RUN echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini diff --git a/base/alpine/Dockerfile b/base/alpine/Dockerfile index 92b5d7e..77fd67f 100644 --- a/base/alpine/Dockerfile +++ b/base/alpine/Dockerfile @@ -26,6 +26,8 @@ RUN apk --update add \ docker-php-ext-install gd && \ docker-php-ext-configure ldap --with-libdir=lib/ && \ docker-php-ext-install ldap && \ + # Install ZendOpcache opcode + pecl install zendopcache-7.0.4 && \ apk del build-base && \ rm -rf /var/cache/apk/* diff --git a/base/php5-alpine/Dockerfile b/base/php5-alpine/Dockerfile index 113f8b2..fd11053 100644 --- a/base/php5-alpine/Dockerfile +++ b/base/php5-alpine/Dockerfile @@ -27,6 +27,8 @@ RUN apk --update add \ docker-php-ext-install gd && \ docker-php-ext-configure ldap --with-libdir=lib/ && \ docker-php-ext-install ldap && \ + # Install ZendOpcache opcode + pecl install zendopcache-7.0.4 && \ apk del build-base && \ rm -rf /var/cache/apk/* diff --git a/base/php5/Dockerfile b/base/php5/Dockerfile index 8ff4d42..39b9839 100644 --- a/base/php5/Dockerfile +++ b/base/php5/Dockerfile @@ -26,7 +26,9 @@ RUN docker-php-ext-install mcrypt zip bz2 mbstring pcntl xsl \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ - && docker-php-ext-install ldap + && docker-php-ext-install ldap && \ + # Install ZendOpcache opcode + pecl install zendopcache-7.0.4 # Memory Limit RUN echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini