Skip to content

Commit 89f2d18

Browse files
committed
add gRPC extension
1 parent d3281ba commit 89f2d18

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ RUN set -eux; \
142142
ln -s /opt/php/bin/phpize /usr/bin/phpize; \
143143
ln -s /opt/php/bin/php-config /usr/bin/php-config; \
144144
mkdir -p /opt/php/etc/php/conf.d; \
145-
#printf "\n" | /opt/php/bin/pecl install grpc; \
146-
#echo "extension=grpc.so" > /opt/php/etc/php/conf.d/php-02-grpc.ini; \
147-
#rm -rf /opt/php/bin/pecl /opt/php/bin/pear /opt/php/bin/peardev /opt/php/bin/peclcmd.php /opt/php/bin/pearcmd.php /opt/php/bin/phar /opt/php/bin/phar.phar; \
148-
#find /opt/php -type f -name "peclcmd.php" -delete; \
149-
#find /opt/php -type f -name "pearcmd.php" -delete; \
150-
#find /opt/php -type d -name "pear" -exec rm -rf {} +; \
145+
printf "\n" | /opt/php/bin/pecl install grpc; \
146+
echo "extension=grpc.so" > /opt/php/etc/php/conf.d/php-02-grpc.ini; \
147+
rm -rf /opt/php/bin/pecl /opt/php/bin/pear /opt/php/bin/peardev /opt/php/bin/peclcmd.php /opt/php/bin/pearcmd.php /opt/php/bin/phar /opt/php/bin/phar.phar; \
148+
find /opt/php -type f -name "peclcmd.php" -delete; \
149+
find /opt/php -type f -name "pearcmd.php" -delete; \
150+
find /opt/php -type d -name "pear" -exec rm -rf {} +; \
151151
apk del .build-php-deps; \
152152
rm -rf /tmp/php*
153153

0 commit comments

Comments
 (0)