Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add blackfire client to PHP container for CLI profiling #115

Closed
seanBlommaert opened this issue Jun 17, 2020 · 1 comment
Closed

Add blackfire client to PHP container for CLI profiling #115

seanBlommaert opened this issue Jun 17, 2020 · 1 comment

Comments

@seanBlommaert
Copy link

Blackfire allows CLI via a client binary (https://blackfire.io/docs/integrations/docker/php-docker#using-the-client-for-cli-profiling).

Could this be added to the PHP image?

RUN mkdir -p /tmp/blackfire-client \
    && curl -A "Docker" -L https://blackfire.io/api/v1/releases/client/linux_static/amd64 | tar zxp -C /tmp/blackfire-client \
    && mv /tmp/blackfire-client/blackfire /usr/bin/blackfire \
    && rm -Rf /tmp/blackfire-client
@csandanov
Copy link
Member

Added to the -dev version of the image

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

No branches or pull requests

2 participants