Merge pull request #3057 from marcos-kubis-mk/master
Add php trader extension
This commit is contained in:
commit
8b0ffac149
@ -198,6 +198,7 @@ WORKSPACE_INSTALL_PROTOC=false
|
|||||||
WORKSPACE_INSTALL_PHPDECIMAL=false
|
WORKSPACE_INSTALL_PHPDECIMAL=false
|
||||||
WORKSPACE_INSTALL_ZOOKEEPER=false
|
WORKSPACE_INSTALL_ZOOKEEPER=false
|
||||||
WORKSPACE_INSTALL_SSDB=false
|
WORKSPACE_INSTALL_SSDB=false
|
||||||
|
WORKSPACE_INSTALL_TRADER=false
|
||||||
WORKSPACE_PROTOC_VERSION=latest
|
WORKSPACE_PROTOC_VERSION=latest
|
||||||
WORKSPACE_INSTALL_MEMCACHED=true
|
WORKSPACE_INSTALL_MEMCACHED=true
|
||||||
|
|
||||||
@ -262,6 +263,7 @@ PHP_FPM_INSTALL_WKHTMLTOPDF=false
|
|||||||
PHP_FPM_INSTALL_PHPDECIMAL=false
|
PHP_FPM_INSTALL_PHPDECIMAL=false
|
||||||
PHP_FPM_INSTALL_ZOOKEEPER=false
|
PHP_FPM_INSTALL_ZOOKEEPER=false
|
||||||
PHP_FPM_INSTALL_SSDB=false
|
PHP_FPM_INSTALL_SSDB=false
|
||||||
|
PHP_FPM_INSTALL_TRADER=false
|
||||||
PHP_FPM_FFMPEG=false
|
PHP_FPM_FFMPEG=false
|
||||||
PHP_FPM_AUDIOWAVEFORM=false
|
PHP_FPM_AUDIOWAVEFORM=false
|
||||||
PHP_FPM_ADDITIONAL_LOCALES="en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8"
|
PHP_FPM_ADDITIONAL_LOCALES="en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8"
|
||||||
|
@ -166,6 +166,7 @@ services:
|
|||||||
- INSTALL_PHPDECIMAL=${WORKSPACE_INSTALL_PHPDECIMAL}
|
- INSTALL_PHPDECIMAL=${WORKSPACE_INSTALL_PHPDECIMAL}
|
||||||
- INSTALL_ZOOKEEPER=${WORKSPACE_INSTALL_ZOOKEEPER}
|
- INSTALL_ZOOKEEPER=${WORKSPACE_INSTALL_ZOOKEEPER}
|
||||||
- INSTALL_SSDB=${WORKSPACE_INSTALL_SSDB}
|
- INSTALL_SSDB=${WORKSPACE_INSTALL_SSDB}
|
||||||
|
- INSTALL_TRADER=${WORKSPACE_INSTALL_TRADER}
|
||||||
- PROTOC_VERSION=${WORKSPACE_PROTOC_VERSION}
|
- PROTOC_VERSION=${WORKSPACE_PROTOC_VERSION}
|
||||||
- INSTALL_DOCKER_CLIENT=${WORKSPACE_INSTALL_DOCKER_CLIENT}
|
- INSTALL_DOCKER_CLIENT=${WORKSPACE_INSTALL_DOCKER_CLIENT}
|
||||||
- INSTALL_MEMCACHED=${WORKSPACE_INSTALL_MEMCACHED}
|
- INSTALL_MEMCACHED=${WORKSPACE_INSTALL_MEMCACHED}
|
||||||
@ -267,6 +268,7 @@ services:
|
|||||||
- INSTALL_PHPDECIMAL=${PHP_FPM_INSTALL_PHPDECIMAL}
|
- INSTALL_PHPDECIMAL=${PHP_FPM_INSTALL_PHPDECIMAL}
|
||||||
- INSTALL_ZOOKEEPER=${PHP_FPM_INSTALL_ZOOKEEPER}
|
- INSTALL_ZOOKEEPER=${PHP_FPM_INSTALL_ZOOKEEPER}
|
||||||
- INSTALL_SSDB=${PHP_FPM_INSTALL_SSDB}
|
- INSTALL_SSDB=${PHP_FPM_INSTALL_SSDB}
|
||||||
|
- INSTALL_TRADER=${PHP_FPM_INSTALL_TRADER}
|
||||||
- DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=${PHP_DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL}
|
- DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=${PHP_DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL}
|
||||||
- PUID=${PHP_FPM_PUID}
|
- PUID=${PHP_FPM_PUID}
|
||||||
- PGID=${PHP_FPM_PGID}
|
- PGID=${PHP_FPM_PGID}
|
||||||
|
@ -1031,6 +1031,19 @@ RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
|
|||||||
&& apt -f install \
|
&& apt -f install \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# trader:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_TRADER=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_TRADER} = true ]; then \
|
||||||
|
pecl install trader \
|
||||||
|
&& echo "extension=trader.so" >> $PHP_INI_DIR/conf.d/trader.ini \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Mailparse extension:
|
# Mailparse extension:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -1670,6 +1670,21 @@ RUN set -xe; \
|
|||||||
&& rm /tmp/ssdb-client-php.tar.gz \
|
&& rm /tmp/ssdb-client-php.tar.gz \
|
||||||
&& docker-php-ext-enable ssdb \
|
&& docker-php-ext-enable ssdb \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# trader:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_TRADER=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_TRADER} = true ]; then \
|
||||||
|
pecl install trader \
|
||||||
|
&& echo "extension=trader.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/trader.ini \
|
||||||
|
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/trader.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-trader.ini \
|
||||||
|
;fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
Loading…
Reference in New Issue
Block a user