From 9f3ba08b50a9078b8bb4a5ffe08de585df108e51 Mon Sep 17 00:00:00 2001 From: eeliu <27064129+eeliu@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:06:52 +0800 Subject: [PATCH] fix(php): php-parse version (#578) --- testapps/compose.yaml | 7 ++++++- testapps/php.dockerfile | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/testapps/compose.yaml b/testapps/compose.yaml index a6be5b7ca..d6b2433b8 100644 --- a/testapps/compose.yaml +++ b/testapps/compose.yaml @@ -65,6 +65,8 @@ services: depends_on: redis: condition: service_healthy + dev-collector: + condition: service_started restart: always build: dockerfile: testapps/php.dockerfile @@ -81,7 +83,10 @@ services: container_name: fastapi depends_on: redis: - condition: service_healthy + condition: service_healthy + dev-collector: + condition: service_started + restart: always build: dockerfile: testapps/fastapi.dockerfile diff --git a/testapps/php.dockerfile b/testapps/php.dockerfile index 4cdf04574..6b68001e3 100644 --- a/testapps/php.dockerfile +++ b/testapps/php.dockerfile @@ -2,7 +2,7 @@ FROM yiisoftware/yii2-php:7.4-fpm-nginx RUN composer create-project --prefer-dist yiisoft/yii2-app-basic /app -RUN composer require pinpoint-apm/pinpoint-php-aop:v2.1.0 +RUN composer require -w pinpoint-apm/pinpoint-php-aop:v2.1.0 RUN chown -R www-data:www-data /app # Copy index.php COPY testapps/PHP/index.php /app/web/index.php