Kong image with a custom plugin for static response.
897
This repository contains a very simple Kong plugin for Static Response.
I have published the plugin to Luarocks as recommended at Kong Plugin Development Guide
You can directly install any where you are running kong, by following below steps:
apk update && apk add git unzip luarocks
luarocks install kong-plugin-static-response
build your own custom docker image and use kong image as base docker image.
vi Dockerfile
FROM kong:latest
USER root
RUN apk update && apk add git unzip luarocks
RUN luarocks install kong-plugin-static-response
USER kong
docker build -t kong:with-static-response-plugin .
docker pull nbhadauria/kong-plugin-static-response:latest
KONG_PLUGINS=bundled,static-response


Content type
Image
Digest
Size
50.4 MB
Last updated
over 5 years ago
docker pull nbhadauria/kong-plugin-static-response