Index: third_party/grpc/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile |
diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/echo-path_wsh.py b/third_party/grpc/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile |
similarity index 81% |
copy from third_party/WebKit/LayoutTests/http/tests/websocket/echo-path_wsh.py |
copy to third_party/grpc/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile |
index 6072a28e6c821bdf301d4c1cf7e2c50c2cebdeef..e9cf99142b8c0783848ca4091910c81accd7527f 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/websocket/echo-path_wsh.py |
+++ b/third_party/grpc/tools/dockerfile/distribtest/python_jessie_x86/Dockerfile |
@@ -1,4 +1,5 @@ |
-# Copyright (C) 2013 Google Inc. All rights reserved. |
+# Copyright 2015-2016, Google Inc. |
+# All rights reserved. |
# |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
@@ -26,13 +27,11 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+FROM 32bit/debian:jessie |
-from mod_pywebsocket import common, msgutil |
+RUN apt-get update && apt-get install -y python python-pip |
- |
-def web_socket_do_extra_handshake(request): |
- pass |
- |
- |
-def web_socket_transfer_data(request): |
- msgutil.send_message(request, request.uri) |
+# docker is running on a 64-bit machine, so we need to |
+# override "uname -m" to report i686 instead of x86_64, otherwise |
+# python will choose a wrong binary package to install. |
+ENTRYPOINT ["linux32"] |