Created
September 24, 2018 06:08
-
-
Save iMega/01b81ceecbc4a754cf0cc0bbdb4c0db5 to your computer and use it in GitHub Desktop.
grpc_php_plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM grpc/php | |
RUN apt-get update && \ | |
apt-get install --yes build-essential autoconf libtool zlib1g-dev zip unzip automake libtool pkg-config && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN git clone -q --depth 1 --recursive -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc /root/grpc \ | |
&& cd /root/grpc \ | |
&& make grpc_php_plugin \ | |
&& cp /root/grpc/bins/opt/grpc_php_plugin /usr/local/bin/ \ | |
&& cd /usr/local/bin/ \ | |
&& ln -s grpc_php_plugin protoc-gen-grpc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment