Skip to content

Commit

Permalink
fix blackfile php8 alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
htuscher committed Dec 6, 2020
1 parent 26b67ef commit 17b52b5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
6 changes: 0 additions & 6 deletions docker/php-apache-dev/8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ COPY conf/ /opt/docker/

RUN set -x \
# Install development environment
&& wget -q -O blackfire-agent https://packages.blackfire.io/binaries/blackfire-agent/1.34.0/blackfire-agent-linux_static_amd64 \
&& mv blackfire-agent /usr/local/bin/ \
&& chmod +x /usr/local/bin/blackfire-agent \
&& wget -q -O blackfire.so https://packages.blackfire.io/binaries/blackfire-php/1.33.0/blackfire-php-alpine_amd64-php-80.so \
&& mv blackfire.so "$(php -r "echo ini_get('extension_dir');")/blackfire.so" \
&& mkdir /var/run/blackfire/ \
&& apk-install \
make \
autoconf \
Expand Down
6 changes: 0 additions & 6 deletions docker/php-dev/8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ COPY conf/ /opt/docker/

RUN set -x \
# Install development environment
&& wget -q -O blackfire-agent https://packages.blackfire.io/binaries/blackfire-agent/1.34.0/blackfire-agent-linux_static_amd64 \
&& mv blackfire-agent /usr/local/bin/ \
&& chmod +x /usr/local/bin/blackfire-agent \
&& wget -q -O blackfire.so https://packages.blackfire.io/binaries/blackfire-php/1.33.0/blackfire-php-alpine_amd64-php-80.so \
&& mv blackfire.so "$(php -r "echo ini_get('extension_dir');")/blackfire.so" \
&& mkdir /var/run/blackfire/ \
&& apk-install \
make \
autoconf \
Expand Down
6 changes: 0 additions & 6 deletions docker/php-nginx-dev/8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ COPY conf/ /opt/docker/

RUN set -x \
# Install development environment
&& wget -q -O blackfire-agent https://packages.blackfire.io/binaries/blackfire-agent/1.34.0/blackfire-agent-linux_static_amd64 \
&& mv blackfire-agent /usr/local/bin/ \
&& chmod +x /usr/local/bin/blackfire-agent \
&& wget -q -O blackfire.so https://packages.blackfire.io/binaries/blackfire-php/1.33.0/blackfire-php-alpine_amd64-php-80.so \
&& mv blackfire.so "$(php -r "echo ini_get('extension_dir');")/blackfire.so" \
&& mkdir /var/run/blackfire/ \
&& apk-install \
make \
autoconf \
Expand Down
2 changes: 2 additions & 0 deletions template/Dockerfile/images/php.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,14 @@

{% macro officialDevelopmentAlpine(role='', version='') -%}
# Install development environment
{%- if version != '8.0' %}
&& wget -q -O blackfire-agent https://packages.blackfire.io/binaries/blackfire-agent/1.34.0/blackfire-agent-linux_static_amd64 \
&& mv blackfire-agent /usr/local/bin/ \
&& chmod +x /usr/local/bin/blackfire-agent \
&& wget -q -O blackfire.so https://packages.blackfire.io/binaries/blackfire-php/1.33.0/blackfire-php-alpine_amd64-php-{{ version|replace('.', '') }}.so \
&& mv blackfire.so "$(php -r "echo ini_get('extension_dir');")/blackfire.so" \
&& mkdir /var/run/blackfire/ \
{%- endif %}
&& apk-install \
make \
autoconf \
Expand Down

0 comments on commit 17b52b5

Please sign in to comment.