From dbfb5edb111b2f10d2c9c0699c99e698c2667e9b Mon Sep 17 00:00:00 2001 From: Eddie Bachle Date: Sun, 9 Oct 2022 06:58:17 -0400 Subject: [PATCH] fix: Update to modern versions to get example working (#339) --- example/php/jaeger/Dockerfile | 5 +++-- example/php/jaeger/composer.json | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/example/php/jaeger/Dockerfile b/example/php/jaeger/Dockerfile index f3c46fb5..a562b8e3 100644 --- a/example/php/jaeger/Dockerfile +++ b/example/php/jaeger/Dockerfile @@ -7,13 +7,14 @@ RUN set -x \ && apt-get update \ && apt-get install --no-install-recommends --no-install-suggests -y \ ca-certificates \ - git \ + git zip unzip libzip-dev \ # Install php extensions + && docker-php-ext-install zip \ && docker-php-ext-install bcmath \ && docker-php-ext-install sockets \ # Install composer && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ - && php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ + && php -r "if (hash_file('SHA384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ && php composer-setup.php \ && php -r "unlink('composer-setup.php');" \ # Install dependencies diff --git a/example/php/jaeger/composer.json b/example/php/jaeger/composer.json index fbaa7d83..6163ec21 100644 --- a/example/php/jaeger/composer.json +++ b/example/php/jaeger/composer.json @@ -1,7 +1,7 @@ { "minimum-stability": "dev", "require": { - "jonahgeorge/jaeger-client-php": "0.3.0", - "opentracing/opentracing":"1.0.0-beta5" + "jonahgeorge/jaeger-client-php": "1.4.3", + "opentracing/opentracing":"1.0.2" } }