aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-09-21 18:31:15 +0200
committerGravatar GitHub <noreply@github.com>2016-09-21 18:31:15 +0200
commitd23f8166d862cf7767b68944b44af92b88212383 (patch)
treeeb290cc45a5489405eab9b27248a8726c9045492 /tools/dockerfile
parent10c57a03ef939668dc4e0a4ad17e095307eb05d9 (diff)
parent9c6276f5f717384887948d949fbbc8250063a370 (diff)
Merge pull request #8157 from jtattermusch/fix_centos7_distribtest
Fix C# distribtest on centos7
Diffstat (limited to 'tools/dockerfile')
-rw-r--r--tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile b/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile
index 6584845721..6a26394ebd 100644
--- a/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile
+++ b/tools/dockerfile/distribtest/csharp_centos7_x64/Dockerfile
@@ -33,7 +33,14 @@ 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 nuget
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/