rwynn / monstache

a go daemon that syncs MongoDB to Elasticsearch in realtime. you know, for search.
https://rwynn.github.io/monstache-site/
MIT License
1.29k stars 182 forks source link

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

Open Joey0538 opened 10 months ago

Joey0538 commented 10 months ago

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?