aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/distribtest/csharp_centos7_x64
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dockerfile/distribtest/csharp_centos7_x64')
-rw-r--r--tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile b/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile
index 6584845721..c8b5daaff9 100644
--- a/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile
+++ b/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile
@@ -33,7 +33,17 @@ RUN rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E03
RUN yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
RUN yum install -y mono
+
RUN yum install -y unzip
# --nogpgcheck because nuget-2.12 package is not signed.
RUN yum install -y nuget --nogpgcheck
+
+# Help mono correctly locate libMonoPosixHelper.so
+# as a workaround for issue https://bugzilla.xamarin.com/show_bug.cgi?id=42820
+# The error message you'll get without this workaround:
+# ```
+# WARNING: /usr/lib/libMonoPosixHelper.so
+# WARNING: Unable to read package from path 'Grpc.1.1.0-dev.nupkg'.
+# ```
+RUN cp /usr/lib64/libMonoPosixHelper.so /usr/lib/