rwynn / monstache

a go daemon that syncs MongoDB to Elasticsearch in realtime. you know, for search.

Home Page:https://rwynn.github.io/monstache-site/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golang plugin can't be mounted without building plugin from source code

Joey0538 opened this issue · comments

Hi @rwynn I'm new to Monstache, its a great tool....
For building plugin..... but if I'm using the same go.mod file from the repo, to be precise same go version 1.19, why can't I directly mount the plugin.so built locally and supply it to the docker image via volume mounts? when I attempt to do this I'm unable to run the plugin with some _vprintf error but, if I build the plugin through the dockerfile, I'm able to run the plugin? Its like for each change in the plugin code, I have rebuild the entire docker image for monstache to be able to run the plugin, is there no other way to directly mount the plugin file to the docker image?