Error in installing custom plugins in kong 1.1 docker, luarocks make throws error

Hi,

I was trying to install our custom plugin in recently released kong 1.1 and we used the kong-docker alpine image for it. When we ran the command luarocks make, the docker build fails with error: /bin/sh: luarocks: not found

Please let us know if there are any changes with respect to custom plugin installation in the new kong version or this is some issue with the luarocks

2 Likes

Hey,

I am able to reproduce this behavior, looks like something changed inside KONG ( not a docker image ) from 1.0.3 to 1.1.1. A temporary fix for this is to use docker multi-stage build and use kong-1.0.3 to build the plugin then run kong inside kong-1.1.1

I will look into the code changes meanwhile this will do the trick, other suggestions?

Thank you,
Florin

1 Like

Any infos about the fix release ?

Thanks you,

Jonathan.

EDIT: fixed on 03/04/19

Just tested this morning and it looks like the issue has been fixed.