From f2f7f2bbd1286cde5a05ebf86a250df44622f16d Mon Sep 17 00:00:00 2001 From: Jonathan Zernik Date: Fri, 20 Mar 2020 18:44:58 -0700 Subject: [PATCH] Fix installing rpc protocol files. (#10) --- docker/sqkclient/Dockerfile | 1 + install-rpc.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/sqkclient/Dockerfile b/docker/sqkclient/Dockerfile index e8384cec..42d9ac23 100644 --- a/docker/sqkclient/Dockerfile +++ b/docker/sqkclient/Dockerfile @@ -18,6 +18,7 @@ WORKDIR /app # Install the gRPC files. COPY "install-rpc.sh" . RUN chmod +x install-rpc.sh +RUN ./install-rpc.sh RUN python3 setup.py install diff --git a/install-rpc.sh b/install-rpc.sh index 092a9668..066d21df 100755 --- a/install-rpc.sh +++ b/install-rpc.sh @@ -5,5 +5,6 @@ curl -o rpc.proto -s https://raw.githubusercontent.com/lightningnetwork/lnd/mast cp rpc.proto squeaknode/common +echo "Installing RPC protocol files" python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. squeaknode/common/rpc.proto python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. squeaknode/client/rpc/route_guide.proto