-
Notifications
You must be signed in to change notification settings - Fork 826
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
Cannot create custom-plugin on Docker container #24
Comments
Plugins are just Lua code files (source code). You just need to place them in your Lua path such that Kong can find them. When developing your plugin on the other hand, you probably do want to setup the kong dev environment to be able to quicker iterate over changes and bug fixes you make. |
just noticed this is Docker related, which probably means that before starting a container you need to copy the files in, and modify the configuration to include your custom plugin. Dunno how one would do that with Docker. |
Thanks for the help Tieske :) I was able to create custom-plugins changing somethings at the repository before building the image. I copied the
At kong.yml I added the lines:
I created the directory
|
Hi there,
I'm looking around on how to create custom-plugin, but as far as I understood, I'll have to build the kong source to include my custom plugin.
Since this container always download the rpm file, I cannot compile my plugin's source.
I'm following the steps on this tutorial: http://streamdata.io/blog/developing-an-helloworld-kong-plugin/
If I misunderstood something, please help me.
Thanks!
Francisco Andrade
The text was updated successfully, but these errors were encountered: