aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-08-17 17:38:41 -0700
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-09-22 13:50:09 -0700
commitdb3448602701075400b98cd577f7f9101e42d908 (patch)
tree86982fc1f5b391788ec8b0a603e14794fff8d576 /tools
parent5c4fa0df65bc696df17db8ec7dc7fa09de034d19 (diff)
Fix Python dockerfile
Diffstat (limited to 'tools')
-rw-r--r--tools/dockerfile/grpc_python/Dockerfile22
1 files changed, 3 insertions, 19 deletions
diff --git a/tools/dockerfile/grpc_python/Dockerfile b/tools/dockerfile/grpc_python/Dockerfile
index aa29685bee..bce35adc8b 100644
--- a/tools/dockerfile/grpc_python/Dockerfile
+++ b/tools/dockerfile/grpc_python/Dockerfile
@@ -40,28 +40,12 @@ RUN make install_c -j12 -C /var/local/git/grpc
# Build Python GRPC
RUN cd /var/local/git/grpc \
- && pip install src/python/src \
- && pip install src/python/interop
+ && pip install src/python/grpcio \
+ && pip install src/python/grpcio_test
# Run Python GRPC's tests
-# TODO(nathaniel): It would be nice for these to be auto-discoverable?
RUN cd /var/local/git/grpc \
- && python2.7 -B -m grpc._adapter._blocking_invocation_inline_service_test \
- && python2.7 -B -m grpc._adapter._c_test \
- && python2.7 -B -m grpc._adapter._event_invocation_synchronous_event_service_test \
- && python2.7 -B -m grpc._adapter._future_invocation_asynchronous_event_service_test \
- && python2.7 -B -m grpc._adapter._links_test \
- && python2.7 -B -m grpc._adapter._lonely_rear_link_test \
- && python2.7 -B -m grpc._adapter._low_test \
- && python2.7 -B -m grpc.early_adopter.implementations_test \
- && python2.7 -B -m grpc.framework.base.implementations_test \
- && python2.7 -B -m grpc.framework.face.blocking_invocation_inline_service_test \
- && python2.7 -B -m grpc.framework.face.event_invocation_synchronous_event_service_test \
- && python2.7 -B -m grpc.framework.face.future_invocation_asynchronous_event_service_test \
- && python2.7 -B -m grpc.framework.foundation._later_test \
- && python2.7 -B -m grpc.framework.foundation._logging_pool_test \
- && python2.7 -B -m interop._insecure_interop_test \
- && python2.7 -B -m interop._secure_interop_test
+ && python2.7 -B src/python/grpcio_test/setup.py test
# Add a cacerts directory containing the Google root pem file, allowing the interop client to access the production test instance
ADD cacerts cacerts