private void deleteOnExit(final Path path) {
        Runtime
            .getRuntime()
            .addShutdownHook(
                new Thread(DockerClientFactory.TESTCONTAINERS_THREAD_GROUP, () -> PathUtils.recursiveDeleteDir(path))
            );
    }
Extract a file or directory tree from a JAR file to a temporary location.
This allows Docker to mount classpath resources as files.

@param hostPath the path on the host, expected to be of the format 'file:/path/to/some.jar!/classpath/path/to/resource'
@return the path of the temporary file/directory
core/src/main/java/org/testcontainers/utility/MountableFile.java