Added APCU installation option for the workspace container
This commit is contained in:
1 parent
6c8cb6dd85
commit
cd1d7014e4
3 files changed
+17
No files matched your search
@@ -1338,6 +1338,21 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
|
||||
php -m | grep -q 'phalcon' \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
# APCU:
|
||||
###########################################################################
|
||||
|
||||
ARG INSTALL_APCU=false
|
||||
|
||||
RUN if [ ${INSTALL_APCU} = true ]; then \
|
||||
apt-get update -yqq \
|
||||
&& pecl channel-update pecl.php.net; \
|
||||
pecl install apcu; \
|
||||
echo "extension=apcu.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/apcu.ini; \
|
||||
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/apcu.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/50-apcu.ini; \
|
||||
php -m | grep -q 'apcu' \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
USER root
|
||||
|
||||
|
||||
Reference in new issue
Block a user