Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Joey0538 opened this issue Jan 14, 2024 · 0 comments
Open

Comments

@Joey0538
Copy link

Joey0538 commented Jan 14, 2024

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?

@Joey0538 Joey0538 changed the title Order of monstache golang plugin functions execute Order of monstache golang functions execution Jan 14, 2024
@Joey0538 Joey0538 changed the title Order of monstache golang functions execution golang plugin can't be mounted without building plugin from source code Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant