mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2026-01-10 09:54:43 +00:00
Add PHP module dirs
This commit is contained in:
16
php_modules/blackfire/build.yml
Normal file
16
php_modules/blackfire/build.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
# Available Jinja2 variables:
|
||||
# ---------------------------
|
||||
# * {{ php_all_versions }}: Array of all PHP versions
|
||||
|
||||
|
||||
all:
|
||||
type: custom
|
||||
command: |
|
||||
version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \
|
||||
&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \
|
||||
&& mkdir -p /tmp/blackfire \
|
||||
&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \
|
||||
&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \
|
||||
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \
|
||||
Reference in New Issue
Block a user