Skip to content

Commit 4969c08

Browse files
committed
correcting run command
1 parent f5cabdc commit 4969c08

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ RUN git clone --depth 1 https://github.com/grpc/grpc.git . \
2121
&& cmake ../.. -DgRPC_INSTALL=ON -DgRPC_BUILD_TESTS=OFF \
2222
&& make -j$(nproc) \
2323
&& make install \
24-
# Build the PHP Extension
24+
# Build the PHP Extension, providing the path to the C++ core libs
2525
&& cd ../../src/php/ext/grpc \
2626
&& phpize \
27-
&& ./configure \
27+
&& ./configure --with-grpc=/usr/local \
2828
&& make -j$(nproc) \
29-
# We do NOT need 'make install' here, we just need the compiled .so file
3029
&& cp modules/grpc.so /tmp/grpc.so
3130

3231
FROM php:8.5-cli

0 commit comments

Comments
 (0)