FROM kong:0.14-centos
USER root
RUN yum install -y git unzip openssl-devel gcc && yum clean all
# Install kong-oidc version 1.0.1
RUN luarocks install kong-oidc 1.0.1
# Enable the plugin
ENV KONG_PLUGINS=bundled,oidc
USER kong