Looks like it's not possible to use docker env for driver download
UnamedRus opened this issue · 2 comments
UnamedRus commented
clickhouse-jdbc-bridge by default has clickhouse-jdbc-driver in ./drivers dir, which effectively disable driver download.
root@9ee0fec413ce:/app# ls ./drivers/
clickhouse-jdbc-0.3.1-patch-shaded.jar
zhicwu commented
Thanks @UnamedRus. Actually it is possible when you mount an empty directory. On production, it's better to mount a directory with tested drivers, instead of relying on this function or specifying the driver URL in datasource configuration.
UnamedRus commented
I did use workaround with rm -rf /app/drivers/* in cmd.
But i like your approach more.
Thanks