Add rdkafka to Workspace container
This commit is contained in:
parent
bb759d7b94
commit
032e7c0c53
|
@ -131,6 +131,7 @@ services:
|
||||||
- INSTALL_FSWATCH=${WORKSPACE_INSTALL_FSWATCH}
|
- INSTALL_FSWATCH=${WORKSPACE_INSTALL_FSWATCH}
|
||||||
- INSTALL_AST=${WORKSPACE_INSTALL_AST}
|
- INSTALL_AST=${WORKSPACE_INSTALL_AST}
|
||||||
- INSTALL_YAML=${WORKSPACE_INSTALL_YAML}
|
- INSTALL_YAML=${WORKSPACE_INSTALL_YAML}
|
||||||
|
- INSTALL_RDKAFKA=${WORKSPACE_INSTALL_RDKAFKA}
|
||||||
- INSTALL_MAILPARSE=${WORKSPACE_INSTALL_MAILPARSE}
|
- INSTALL_MAILPARSE=${WORKSPACE_INSTALL_MAILPARSE}
|
||||||
- INSTALL_GIT_PROMPT=${WORKSPACE_INSTALL_GIT_PROMPT}
|
- INSTALL_GIT_PROMPT=${WORKSPACE_INSTALL_GIT_PROMPT}
|
||||||
- INSTALL_XMLRPC=${WORKSPACE_INSTALL_XMLRPC}
|
- INSTALL_XMLRPC=${WORKSPACE_INSTALL_XMLRPC}
|
||||||
|
|
|
@ -158,6 +158,7 @@ WORKSPACE_INSTALL_SSHPASS=false
|
||||||
WORKSPACE_INSTALL_INOTIFY=false
|
WORKSPACE_INSTALL_INOTIFY=false
|
||||||
WORKSPACE_INSTALL_FSWATCH=false
|
WORKSPACE_INSTALL_FSWATCH=false
|
||||||
WORKSPACE_INSTALL_YAML=false
|
WORKSPACE_INSTALL_YAML=false
|
||||||
|
WORKSPACE_INSTALL_RDKAFKA=false
|
||||||
WORKSPACE_INSTALL_MAILPARSE=false
|
WORKSPACE_INSTALL_MAILPARSE=false
|
||||||
WORKSPACE_INSTALL_XMLRPC=false
|
WORKSPACE_INSTALL_XMLRPC=false
|
||||||
WORKSPACE_PUID=1000
|
WORKSPACE_PUID=1000
|
||||||
|
|
|
@ -1265,6 +1265,20 @@ RUN if [ ${INSTALL_YAML} = true ]; then \
|
||||||
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/35-yaml.ini \
|
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/35-yaml.ini \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# RDKAFKA:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_RDKAFKA=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_RDKAFKA} = true ]; then \
|
||||||
|
apt-get install -y librdkafka-dev && \
|
||||||
|
pecl install rdkafka && \
|
||||||
|
echo "extension=rdkafka.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/rdkafka.ini && \
|
||||||
|
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/rdkafka.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-rdkafka.ini \
|
||||||
|
&& php -m | grep -q 'rdkafka' \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# FFMpeg:
|
# FFMpeg:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
Loading…
Reference in New Issue