include lua-resty-balancer in nginx image

This commit is contained in:
Elvin Efendi 2018-04-17 22:48:23 -04:00
parent 13aa49c9c4
commit 5bc8d4f966
2 changed files with 8 additions and 1 deletions

View file

@ -13,7 +13,7 @@
# limitations under the License. # limitations under the License.
# 0.0.0 shouldn't clobber any released builds # 0.0.0 shouldn't clobber any released builds
TAG ?= 0.42 TAG ?= 0.43
REGISTRY ?= quay.io/kubernetes-ingress-controller REGISTRY ?= quay.io/kubernetes-ingress-controller
ARCH ?= $(shell go env GOARCH) ARCH ?= $(shell go env GOARCH)
DOCKER ?= gcloud docker -- DOCKER ?= gcloud docker --

View file

@ -183,6 +183,9 @@ get_src feacc662fd7724741c2b3277b2d27b5ab2821bdb28b499d063dbd23414447249 \
get_src 30a68f1828ed6a53ee6ed062132ea914201076058b1d126ea90ff8e55df09daf \ get_src 30a68f1828ed6a53ee6ed062132ea914201076058b1d126ea90ff8e55df09daf \
"https://github.com/openresty/lua-resty-string/archive/v0.11rc1.tar.gz" "https://github.com/openresty/lua-resty-string/archive/v0.11rc1.tar.gz"
get_src a77bf0d7cf6a9ba017d0dc973b1a58f13e48242dd3849c5e99c07d250667c44c \
"https://github.com/openresty/lua-resty-balancer/archive/v0.02rc4.tar.gz"
get_src 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3 \ get_src 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3 \
"http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz" "http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz"
@ -226,6 +229,10 @@ if [[ (${ARCH} != "ppc64le") && (${ARCH} != "s390x") ]]; then
cd "$BUILD_PATH/lua-resty-string-0.11rc1" cd "$BUILD_PATH/lua-resty-string-0.11rc1"
make install make install
cd "$BUILD_PATH/lua-resty-balancer-0.02rc4"
make all
make install
# build and install lua-resty-waf with dependencies # build and install lua-resty-waf with dependencies
/install_lua_resty_waf.sh /install_lua_resty_waf.sh