Recently I started using Jenkins in a Docker container with Oracle Java 8. When building a project with Gradle I get this error message:
UnsatisfiedLinkError: linux-amd64/libnative-platform.so: libstdc++.so.6: cannot open shared object file: No such file or directory
In Jenkins I selected "Force GRADLE_USER_HOME to use workspace" with no luck at all. The file libnative-platform.so is in the directory expected but gradle won't work. I tried installing Gradle in the container and same result. My last setup is with Gradle Wrapper.
I looked everywhere but I had no luck on my quest. I appreciate if someone can shed a light on this.