From 86b0846369cd93f22d06f8ba4bc03e8b87b77fae Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Thu, 10 May 2018 16:25:20 -0400 Subject: [PATCH] add resty cookie --- images/nginx/Makefile | 2 +- images/nginx/build.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/images/nginx/Makefile b/images/nginx/Makefile index db6da9bed..437e4a0c2 100644 --- a/images/nginx/Makefile +++ b/images/nginx/Makefile @@ -13,7 +13,7 @@ # limitations under the License. # 0.0.0 shouldn't clobber any released builds -TAG ?= 0.43 +TAG ?= 0.44 REGISTRY ?= quay.io/kubernetes-ingress-controller ARCH ?= $(shell go env GOARCH) DOCKER ?= docker diff --git a/images/nginx/build.sh b/images/nginx/build.sh index fa5b91d14..8981e3480 100755 --- a/images/nginx/build.sh +++ b/images/nginx/build.sh @@ -186,6 +186,9 @@ get_src 30a68f1828ed6a53ee6ed062132ea914201076058b1d126ea90ff8e55df09daf \ get_src a77bf0d7cf6a9ba017d0dc973b1a58f13e48242dd3849c5e99c07d250667c44c \ "https://github.com/openresty/lua-resty-balancer/archive/v0.02rc4.tar.gz" +get_src d81b33129c6fb5203b571fa4d8394823bf473d8872c0357a1d0f14420b1483bd \ + "https://github.com/cloudflare/lua-resty-cookie/archive/v0.1.0.tar.gz" + get_src 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3 \ "http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz" @@ -233,6 +236,9 @@ if [[ (${ARCH} != "ppc64le") && (${ARCH} != "s390x") ]]; then make all make install + cd "$BUILD_PATH/lua-resty-cookie-0.1.0" + make install + # build and install lua-resty-waf with dependencies /install_lua_resty_waf.sh