Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

New extension: blackfire.io probe #14

Open
insekticid opened this issue Feb 19, 2018 · 0 comments
Open

New extension: blackfire.io probe #14

insekticid opened this issue Feb 19, 2018 · 0 comments

Comments

@insekticid
Copy link

insekticid commented Feb 19, 2018

RUN 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/alpine/amd64/$version \
     && tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp \
     && mv /tmp/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \
     && printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants