Skip to content

Commit

Permalink
Merge pull request #2385 from ElvinEfendi/add-lua-resty-balancer
Browse files Browse the repository at this point in the history
include lua-resty-balancer in nginx image
  • Loading branch information
k8s-ci-robot authored Apr 20, 2018
2 parents 13aa49c + 5bc8d4f commit a98cb5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion images/nginx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# 0.0.0 shouldn't clobber any released builds
TAG ?= 0.42
TAG ?= 0.43
REGISTRY ?= quay.io/kubernetes-ingress-controller
ARCH ?= $(shell go env GOARCH)
DOCKER ?= gcloud docker --
Expand Down
7 changes: 7 additions & 0 deletions images/nginx/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ get_src feacc662fd7724741c2b3277b2d27b5ab2821bdb28b499d063dbd23414447249 \
get_src 30a68f1828ed6a53ee6ed062132ea914201076058b1d126ea90ff8e55df09daf \
"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 \
"http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz"

Expand Down Expand Up @@ -226,6 +229,10 @@ if [[ (${ARCH} != "ppc64le") && (${ARCH} != "s390x") ]]; then
cd "$BUILD_PATH/lua-resty-string-0.11rc1"
make install

cd "$BUILD_PATH/lua-resty-balancer-0.02rc4"
make all
make install

# build and install lua-resty-waf with dependencies
/install_lua_resty_waf.sh

Expand Down

0 comments on commit a98cb5d

Please sign in to comment.