title: Gradle build fails while executing './gradlew build installDist --info' inside docker container
body: <p>I have created docker container on SLES 12.</p>
  
  <p>I have installed <code>git</code> and <code>java-1.8.0-openjdk-devel</code>.</p>
  
  <p>Clone the master branch of <a href="https://github.com/apache/incubator-geode.git" rel="nofollow">https://github.com/apache/incubator-geode.git</a></p>
  
  <p>Changed directory to <code>incubator-geode</code></p>
  
  <p>And then executed <code>./gradlew build installDist --info</code></p>
  
  <p>This gives an error saying:
      FAILURE: Build failed with an exception.</p>
  
  <pre><code>What went wrong:
  Execution failed for task ':gemfire-core:test'.
  &gt; There were failing tests. See the report at: file:///incubator-    geode/gemfire-core/build/reports/test/index.html
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
  
  BUILD FAILED
  </code></pre>
  
  <p>The file index.html has following:</p>
  
  <pre><code>com.gemstone.gemfire.internal.compression.SnappyCompressorJUnitTest &gt; testCompressByteArray FAILED
  java.lang.IllegalStateException: Unable to load native Snappy library.
      at com.gemstone.gemfire.compression.SnappyCompressor.&lt;init&gt;(SnappyCompressor.java:51)
      at com.gemstone.gemfire.compression.SnappyCompressor.getDefaultInstance(SnappyCompressor.java:67)
      at com.gemstone.gemfire.internal.compression.SnappyCompressorJUnitTest.testCompressByteArray(SnappyCompressorJUnitTest.java:34)
  
      Caused by:
      org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=s390x
          at org.xerial.snappy.SnappyLoader.findNativeLibrary(SnappyLoader.java:299)
          at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:163)
          at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:145)
          at org.xerial.snappy.Snappy.&lt;clinit&gt;(Snappy.java:47)
          at com.gemstone.gemfire.compression.SnappyCompressor.&lt;init&gt;(SnappyCompressor.java:48)
          ... 2 more
  
         com.gemstone.gemfire.internal.compression.SnappyCompressorJUnitTest &gt; testConstructor FAILED
  java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
      at com.gemstone.gemfire.compression.SnappyCompressor.&lt;init&gt;(SnappyCompressor.java:48)
      at com.gemstone.gemfire.compression.SnappyCompressor.getDefaultInstance(SnappyCompressor.java:67)
      at com.gemstone.gemfire.internal.compression.SnappyCompressorJUnitTest.testConstructor(SnappyCompressorJUnitTest.java:45)
  
        com.gemstone.gemfire.cache.AttributesFactoryJUnitTest &gt; testInvalidConfigurations FAILED
  java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
      at com.gemstone.gemfire.compression.SnappyCompressor.&lt;init&gt;(SnappyCompressor.java:48)
      at com.gemstone.gemfire.compression.SnappyCompressor.getDefaultInstance(SnappyCompressor.java:67)
      at com.gemstone.gemfire.cache.AttributesFactoryJUnitTest.testInvalidConfigurations(AttributesFactoryJUnitTest.java:214)
  </code></pre>
  
  <p>Any idea?</p>