Open amit4497 opened 3 years ago
I have created a Dockerfile where I'm trying to run luarocks install kong-oidc command. But I'm getting an error when I try to build my docker image.
Dockerfile
FROM kong:1.1.0-centos LABEL description="Centos 7 + Kong 1.1.0 + kong-oidc plugin" ENV KONG_PLUGINS=oidc RUN yum install -y git unzip && yum clean all RUN luarocks install kong-oidc
ERROR : /tmp/build/usr/local/openresty/luajit/bin/luajit: bad interpreter: No such file or directory
[user1@server-1 konga]$ sudo docker build -t kong:1.1.0-centos-oidc . Sending build context to Docker daemon 114.5MB Step 1/4 : FROM kong:1.1.0-centos ---> 9e6ba8af63ec Step 2/4 : LABEL description="Centos 7 + Kong 1.1.0 + kong-oidc plugin" ---> Using cache ---> 89143cca3603 Step 3/4 : RUN yum install -y git unzip && yum clean all ---> Using cache ---> acf512b1c1a0 Step 4/4 : RUN luarocks install kong-oidc ---> Running in 17be3bb980a1 /bin/sh: /usr/local/bin/luarocks: /tmp/build/usr/local/openresty/luajit/bin/luajit: bad interpreter: No such file or directory The command '/bin/sh -c luarocks install kong-oidc' returned a non-zero code: 126
How do I fix this bad interpreter issue? Any help is appreciated.
I have created a Dockerfile where I'm trying to run luarocks install kong-oidc command. But I'm getting an error when I try to build my docker image.
Dockerfile
ERROR : /tmp/build/usr/local/openresty/luajit/bin/luajit: bad interpreter: No such file or directory
How do I fix this bad interpreter issue? Any help is appreciated.