You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
withFileFromClasspath does not work for resources within a jar #213
Fix released in 1.1.7 - sorry for the delay in getting this out.
The mounting of classpath resources from JAR files entails copying them out to a temporary folder, from where docker is able to mount it. This is used for loading default MySQL and MariaDB configurations now, so hopefully functions for your use case as well. There's no API change - just use withClasspathResourceMapping on any subclass of GenericContainer.
Activity
rnorth commentedon Nov 20, 2016
Fix released in 1.1.7 - sorry for the delay in getting this out.
The mounting of classpath resources from JAR files entails copying them out to a temporary folder, from where docker is able to mount it. This is used for loading default MySQL and MariaDB configurations now, so hopefully functions for your use case as well. There's no API change - just use
withClasspathResourceMappingon any subclass ofGenericContainer.