Index: third_party/grpc/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile |
diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/origin-test_wsh.py b/third_party/grpc/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile |
similarity index 81% |
copy from third_party/WebKit/LayoutTests/http/tests/websocket/origin-test_wsh.py |
copy to third_party/grpc/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile |
index 2c97ac6e4eb321cc261346d02d264b522cdbd87c..03b5b364f8ec5ace65f16a11c9da991ecaff3550 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/websocket/origin-test_wsh.py |
+++ b/third_party/grpc/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile |
@@ -1,4 +1,5 @@ |
-# Copyright (C) 2009 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 centos:7 |
-from mod_pywebsocket import msgutil |
+RUN rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" |
+RUN yum-config-manager --add-repo http://download.mono-project.com/repo/centos/ |
- |
-def web_socket_do_extra_handshake(request): |
- pass # Always accept. |
- |
- |
-def web_socket_transfer_data(request): |
- msgutil.send_message(request, request.ws_origin) |
+RUN yum install -y mono |
+RUN yum install -y unzip |
+RUN yum install -y nuget |