dsteinkopf / kong-response-string-replace Goto Github PK
View Code? Open in Web Editor NEWA Kong plugin for string replacements in the response stream
License: MIT License
A Kong plugin for string replacements in the response stream
License: MIT License
Hello,
I try to install the plugin but on runtime it is not able to find brotli from :
local brotlienc = require "brotli.encoder" local brotlidec = require "brotli.decoder"
Do you have a guide for installing this?
I tried with luarocks install luajit-brotli
but it is not able to find shared modules (also tried to compile brodli inside dockerfile based on bitnami kong:2.1.4).
Thanks!
Cloning into 'kong-response-string-replace'...
Removing intermediate container 2a2e6f0c77cc
---> 3533b4e7c085
Step 5/5 : RUN cd kong-response-string-replace && luarocks install *.rockspec
---> Running in 8074bc5abc2d
Cloning into 'kong-response-string-replace'...
Missing dependencies for kong-response-string-replace 1.0.1-0:
lua-zlib ~> 1.2 (not installed)
kong-response-string-replace 1.0.1-0 depends on lua-zlib ~> 1.2 (not installed)
Installing https://luarocks.org/lua-zlib-1.2-1.rockspec
Cloning into 'lua-zlib'...
Note: switching to 'a305d98f473d0a253b6fd740ce60d7d5a5f1cda0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
sh: gcc: not found
Error: Failed installing dependency: https://luarocks.org/lua-zlib-1.2-1.rockspec - Build error: Failed compiling object lua_zlib.o
lua-zlib 1.2-1 depends on lua >= 5.1, < 5.5 (5.1-1 provided by VM)
gcc -O2 -fPIC -I/usr/local/openresty/luajit/include/luajit-2.1 -c lua_zlib.c -o lua_zlib.o -DLZLIB_COMPAT -I/usr/include
ERROR: Service 'kong' failed to build : The command '/bin/sh -c cd kong-response-string-replace && luarocks install *.rockspec' returned a non-zero code: 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.