From 8abcfdb5dc154fb9b97af37a4530d31e89c5fdac Mon Sep 17 00:00:00 2001 From: Brett McBride Date: Tue, 20 Sep 2022 12:34:08 +1000 Subject: [PATCH] bumping protobuf extension (#380) pecl is installing an older version by default, that does not work in php8.1 so force it to 3.21.5 --- src/quoteservice/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/quoteservice/Dockerfile b/src/quoteservice/Dockerfile index 94704bf82a..d99ec55d80 100644 --- a/src/quoteservice/Dockerfile +++ b/src/quoteservice/Dockerfile @@ -8,13 +8,14 @@ RUN composer install \ --no-interaction \ --no-plugins \ --no-scripts \ + --no-dev \ --prefer-dist FROM php:8.1-cli # install GRPC (required for the OTel exporter) RUN apt-get -y update && apt install -y --no-install-recommends zlib1g-dev && \ - pecl install grpc protobuf && \ + pecl install grpc protobuf-3.21.5 && \ docker-php-ext-enable grpc protobuf WORKDIR /var/www