Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions 7.0-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,17 @@ RUN pecl install xdebug-2.9.0 \
&& docker-php-ext-enable xdebug \
&& echo "xdebug.default_enable=0\nxdebug.coverage_enable=0" > $PHP_INI_DIR/conf.d/xdebug.ini

# Blackfire Probe. Note: We do not install Blackfire CLI. You will
# need that in order to trigger Blackfire tests. The probe just instruments
# things on the server side.
# Blackfire Probe & CLI
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/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 \
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \
&& curl -o /usr/local/bin/blackfire https://blackfire.io/api/v1/releases/client/php/linux/amd64/$version \
&& chmod + x /usr/local/bin/blackfire


# Terminus.
ARG TERMINUS_VERSION=2.2.0
Expand Down
9 changes: 5 additions & 4 deletions 7.1-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,17 @@ RUN pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& echo "xdebug.default_enable=0\nxdebug.coverage_enable=0" > $PHP_INI_DIR/conf.d/xdebug.ini

# Blackfire Probe. Note: We do not install Blackfire CLI. You will
# need that in order to trigger Blackfire tests. The probe just instruments
# things on the server side.
# Blackfire Probe & CLI
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/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 \
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \
&& curl -o /usr/local/bin/blackfire https://blackfire.io/api/v1/releases/client/php/linux/amd64/$version \
&& chmod + x /usr/local/bin/blackfire


# Terminus.
ARG TERMINUS_VERSION=2.2.0
Expand Down
9 changes: 5 additions & 4 deletions 7.2-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,17 @@ RUN pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& echo "xdebug.default_enable=0\nxdebug.coverage_enable=0" > $PHP_INI_DIR/conf.d/xdebug.ini

# Blackfire Probe. Note: We do not install Blackfire CLI. You will
# need that in order to trigger Blackfire tests. The probe just instruments
# things on the server side.
# Blackfire Probe & CLI
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/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 \
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \
&& curl -o /usr/local/bin/blackfire https://blackfire.io/api/v1/releases/client/php/linux/amd64/$version \
&& chmod + x /usr/local/bin/blackfire


# Terminus.
ARG TERMINUS_VERSION=2.2.0
Expand Down
9 changes: 5 additions & 4 deletions 7.3-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,17 @@ RUN pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& echo "xdebug.default_enable=0\nxdebug.coverage_enable=0" > $PHP_INI_DIR/conf.d/xdebug.ini

# Blackfire Probe. Note: We do not install Blackfire CLI. You will
# need that in order to trigger Blackfire tests. The probe just instruments
# things on the server side.
# Blackfire Probe & CLI
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/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 \
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \
&& curl -o /usr/local/bin/blackfire https://blackfire.io/api/v1/releases/client/php/linux/amd64/$version \
&& chmod + x /usr/local/bin/blackfire


# Terminus.
ARG TERMINUS_VERSION=2.2.0
Expand Down
9 changes: 5 additions & 4 deletions 7.4-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,17 @@ RUN pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& echo "xdebug.default_enable=0\nxdebug.coverage_enable=0" > $PHP_INI_DIR/conf.d/xdebug.ini

# Blackfire Probe. Note: We do not install Blackfire CLI. You will
# need that in order to trigger Blackfire tests. The probe just instruments
# things on the server side.
# Blackfire Probe & CLI
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/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 \
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \
&& curl -o /usr/local/bin/blackfire https://blackfire.io/api/v1/releases/client/php/linux/amd64/$version \
&& chmod + x /usr/local/bin/blackfire


# Terminus.
ARG TERMINUS_VERSION=2.2.0
Expand Down
9 changes: 5 additions & 4 deletions template/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,17 @@ RUN pecl install xdebug{{if (eq (atoi .Env.PHP_MINOR_VERSION) 0)}}-2.9.0{{ end }
&& docker-php-ext-enable xdebug \
&& echo "xdebug.default_enable=0\nxdebug.coverage_enable=0" > $PHP_INI_DIR/conf.d/xdebug.ini

# Blackfire Probe. Note: We do not install Blackfire CLI. You will
# need that in order to trigger Blackfire tests. The probe just instruments
# things on the server side.
# Blackfire Probe & CLI
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/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 \
&& printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > $PHP_INI_DIR/conf.d/blackfire.ini \
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz
&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \
&& curl -o /usr/local/bin/blackfire https://blackfire.io/api/v1/releases/client/php/linux/amd64/$version \
&& chmod + x /usr/local/bin/blackfire


# Terminus.
ARG TERMINUS_VERSION=2.2.0
Expand Down