Skip to content

Commit

Permalink
bumping protobuf extension (open-telemetry#380)
Browse files Browse the repository at this point in the history
pecl is installing an older version by default, that does not work in php8.1 so force it to 3.21.5
  • Loading branch information
brettmc authored Sep 20, 2022
1 parent 68dba1c commit 8abcfdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/quoteservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8abcfdb

Please sign in to comment.