Skip to content

Commit

Permalink
Specify grpc version for reliable builds to ensure re-build each time…
Browse files Browse the repository at this point in the history
… we want to bump the version (#435)
  • Loading branch information
GrahamCampbell authored Apr 28, 2023
1 parent ca54ad3 commit 51bfc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/grpc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG PHP_VERSION
ARG BREF_VERSION
FROM bref/build-php-$PHP_VERSION:$BREF_VERSION AS ext

RUN MAKEFLAGS="-j $(nproc)" && pecl install grpc > /dev/null
RUN MAKEFLAGS="-j $(nproc)" && pecl install grpc-1.54.0 > /dev/null
RUN cp `php-config --extension-dir`/grpc.so /tmp/grpc.so
RUN strip --strip-debug /tmp/grpc.so
RUN echo 'extension=grpc.so' > /tmp/ext.ini
Expand Down

0 comments on commit 51bfc6b

Please sign in to comment.