Allow for config of crush and opcache in the main docker file

This commit is contained in:
Tim Bracken committed 2016-08-16 17:51:41 -04:00
1 parent 928451ae88
commit cfc81fca64
4 files changed
+25 -11

No files matched your search

+6 -2
View File
@@ -92,8 +92,12 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
#####################################
# Opcache:
#####################################
RUN docker-php-ext-install opcache
RUN docker-php-ext-enable opcache
ARG INSTALL_OPCACHE=true
ENV INSTALL_OPCACHE ${INSTALL_OPCACHE}
RUN if [ ${INSTALL_OPCACHE} = true ]; then \
docker-php-ext-install opcache && \
docker-php-ext-enable opcache \
;fi
#