Skip to content

Commit a98cb5d

Browse files
authored
Merge pull request #2385 from ElvinEfendi/add-lua-resty-balancer
include lua-resty-balancer in nginx image
2 parents 13aa49c + 5bc8d4f commit a98cb5d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

images/nginx/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# 0.0.0 shouldn't clobber any released builds
16-
TAG ?= 0.42
16+
TAG ?= 0.43
1717
REGISTRY ?= quay.io/kubernetes-ingress-controller
1818
ARCH ?= $(shell go env GOARCH)
1919
DOCKER ?= gcloud docker --

images/nginx/build.sh

+7
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ get_src feacc662fd7724741c2b3277b2d27b5ab2821bdb28b499d063dbd23414447249 \
183183
get_src 30a68f1828ed6a53ee6ed062132ea914201076058b1d126ea90ff8e55df09daf \
184184
"https://github.com/openresty/lua-resty-string/archive/v0.11rc1.tar.gz"
185185

186+
get_src a77bf0d7cf6a9ba017d0dc973b1a58f13e48242dd3849c5e99c07d250667c44c \
187+
"https://github.com/openresty/lua-resty-balancer/archive/v0.02rc4.tar.gz"
188+
186189
get_src 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3 \
187190
"http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz"
188191

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

232+
cd "$BUILD_PATH/lua-resty-balancer-0.02rc4"
233+
make all
234+
make install
235+
229236
# build and install lua-resty-waf with dependencies
230237
/install_lua_resty_waf.sh
231238

0 commit comments

Comments
 (0)