From 1180b5dd404d76d5b565931934d0f71399cdd060 Mon Sep 17 00:00:00 2001 From: eeliu <27064129+eeliu@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:31:54 +0800 Subject: [PATCH] use v0.6.7 php-agent --- testapps/flarum/flarum.dockerfile | 2 +- testapps/laravel/dockerfile | 2 +- testapps/php_phpmyadmin/phpmyadmin.dockerfile | 2 +- testapps/php_wordpress/php-wordpress.dockerfile | 2 +- testapps/shopware/shopware.dockerfile | 2 +- testapps/thinkphp-php/thinkphp.dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testapps/flarum/flarum.dockerfile b/testapps/flarum/flarum.dockerfile index 769f2918..ccdb41d9 100644 --- a/testapps/flarum/flarum.dockerfile +++ b/testapps/flarum/flarum.dockerfile @@ -11,7 +11,7 @@ RUN apk update && apk add php8-dev build-base # RUN cd /pinpoint-c-agent/ && phpize && ./configure && make install # RUN INI_DIR=`php-config --ini-dir` && cp /pinpoint-c-agent/pinpoint_php.ini $INI_DIR -RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/latest/download/install_pinpoint_php.sh | sh +RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/download/v0.6.7/install_pinpoint_php.sh | sh COPY testapps/flarum/site.php /flarum/app/site.php RUN cd /flarum/app/ && composer require -w pinpoint-apm/pinpoint-php-aop:v3.0.1 \ No newline at end of file diff --git a/testapps/laravel/dockerfile b/testapps/laravel/dockerfile index 855c8ca1..70e22367 100644 --- a/testapps/laravel/dockerfile +++ b/testapps/laravel/dockerfile @@ -7,7 +7,7 @@ RUN apt update && apt-get install -y \ git \ && docker-php-ext-install zip pdo pdo_mysql -RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/latest/download/install_pinpoint_php.sh | sh +RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/download/v0.6.7/install_pinpoint_php.sh | sh COPY testapps/laravel/example-app /app diff --git a/testapps/php_phpmyadmin/phpmyadmin.dockerfile b/testapps/php_phpmyadmin/phpmyadmin.dockerfile index c5ea0061..40a4cd5d 100644 --- a/testapps/php_phpmyadmin/phpmyadmin.dockerfile +++ b/testapps/php_phpmyadmin/phpmyadmin.dockerfile @@ -15,7 +15,7 @@ RUN apt update && apt-get install -y \ # RUN cd /pinpoint-c-agent/ && phpize && ./configure && make install # RUN INI_DIR=`php-config --ini-dir` && cp /pinpoint-c-agent/pinpoint_php.ini $INI_DIR -RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/latest/download/install_pinpoint_php.sh | sh +RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/download/v0.6.7/install_pinpoint_php.sh | sh COPY testapps/php_phpmyadmin/index.php /var/www/html/index.php ## install composer diff --git a/testapps/php_wordpress/php-wordpress.dockerfile b/testapps/php_wordpress/php-wordpress.dockerfile index b5ea76ed..ed32a731 100644 --- a/testapps/php_wordpress/php-wordpress.dockerfile +++ b/testapps/php_wordpress/php-wordpress.dockerfile @@ -12,7 +12,7 @@ FROM wordpress:beta-php8.1-apache # COPY install_pinpoint_php.sh /tmp/ # RUN sh /tmp/install_pinpoint_php.sh -RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/latest/download/install_pinpoint_php.sh | sh +RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/download/v0.6.7/install_pinpoint_php.sh | sh COPY testapps/php_wordpress/wp-config.php /usr/src/wordpress/wp-config.php # install composer diff --git a/testapps/shopware/shopware.dockerfile b/testapps/shopware/shopware.dockerfile index a145e6fc..c40d37a4 100644 --- a/testapps/shopware/shopware.dockerfile +++ b/testapps/shopware/shopware.dockerfile @@ -2,7 +2,7 @@ FROM shyim/shopware:6.4.20-php8.2 RUN apk update && apk add --virtual build-dependencies build-base git autoconf -RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/latest/download/install_pinpoint_php.sh | sh +RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/download/v0.6.7/install_pinpoint_php.sh | sh ## install composer RUN composer self-update 2.4.4 diff --git a/testapps/thinkphp-php/thinkphp.dockerfile b/testapps/thinkphp-php/thinkphp.dockerfile index fe5fdb68..4bac345d 100644 --- a/testapps/thinkphp-php/thinkphp.dockerfile +++ b/testapps/thinkphp-php/thinkphp.dockerfile @@ -7,7 +7,7 @@ RUN apt update && apt-get install -y \ git \ && docker-php-ext-install zip pdo pdo_mysql -RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/latest/download/install_pinpoint_php.sh | sh +RUN curl -sL https://github.com/pinpoint-apm/pinpoint-c-agent/releases/download/v0.6.7/install_pinpoint_php.sh | sh COPY testapps/thinkphp-php/tp /app