Skip to content

Instantly share code, notes, and snippets.

@davidraleigh
Created February 17, 2018 01:09
Show Gist options
  • Save davidraleigh/08acc72495922dc149a86e004f435492 to your computer and use it in GitHub Desktop.
Save davidraleigh/08acc72495922dc149a86e004f435492 to your computer and use it in GitHub Desktop.
test for grpc WRONG_VERSION_NUMBER error
FROM python:2.7
RUN pip install grpcio
RUN pip install grpcio-tools
WORKDIR /opt
RUN git clone https://github.com/EchoParkLabs/grpc.git --branch wrong-version-number --depth 1
WORKDIR /opt/grpc/examples/python/route_guide
RUN openssl req -nodes -newkey rsa:2048 -x509 -days 365 -keyout server.key -out server.crt -subj "/C=US/ST=California/L=Los Angeles/O=Echo Park Labs/OU=Software/CN=echoparklabs.io"
CMD python route_guide_server.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment