I’m encountering an issue where the clojure/java build process is failing to find the ojdbc8.jar file when building the oracle portion of the drivers.
I know from your documentation that this needs to be obtained separately from Oracle, which I have done. I have also tried to COPY it into different locations that I thought might be on the classpath via the Dockerfile, to no avail. Can somebody provide some direction as to how this needs to be included/moved via the Dockerfile? Otherwise, can somebody indicate how to disable Oracle support altogether in the build, we don’t really need it.
The output of the final error is below:
Compiling metabase.driver.oracle 10-22 16:32:12 DEBUG plugins.classloader :: Using NEWLY CREATED classloader as shared context classloader: clojure.lang.DynamicClassLoader@1bb15351 10-22 16:32:12 DEBUG plugins.classloader :: Setting current thread context classloader to shared classloader clojure.lang.DynamicClassLoader@1bb15351... Syntax error macroexpanding at (oracle.clj:1:1). Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:382). oracle.jdbc.OracleConnection Full report at: /tmp/clojure-6946041199944006923.edn Compilation failed: Subprocess failed Error: could not find /app/source/modules/drivers/oracle/target/uberjar/oracle.metabase-driver.jar. Build failed. Failed to build driver oracle. The command '/bin/sh -c bin/build' returned a non-zero code: 255