Skip to content
This repository was archived by the owner on Mar 13, 2019. It is now read-only.

Add Opcode #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may not need this in PHP7.


# Memory Limit
RUN echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini
Expand Down
2 changes: 2 additions & 0 deletions base/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think this is needed in PHP7.

apk del build-base && \
rm -rf /var/cache/apk/*

Expand Down
2 changes: 2 additions & 0 deletions base/php5-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
4 changes: 3 additions & 1 deletion base/php5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down