Building kong on PPC64LE

Hi Folks,
I’m trying to build kong to run on ppc64le architecture.

Is there any guidelines to build kong in a “new” platform?

I’ve suceeded to build some parts of it, but when building openresty via

make build-openresty

I’ve got stuck at the point that luajit drops me this error:

./luarocks init
/tmp/build/usr/local/openresty/luajit/bin/luajit: cannot create state: not enough memory
GNUmakefile:50: recipe for target ‘luarocks’ failed
make: *** [luarocks] Error 1
The command ‘/bin/sh -c DEBUG=“${DEBUG}” /tmp/build-openresty.sh && rm -rf /work’ returned a non-zero code: 1

after a while I’ve realized that it could getting lost because of the base image used to build it, which is based on:

mashape/kong-build-tools:openresty-ubuntu-bionic-7ddd02f-6300437d04c90f6f67475e484a2a117c11-01

Where can I found the original dockerfile used to build this base image and even proceed to build the openresty dependency?

Did anyone have tried to do this before?

Cheers,

Leslie