diff --git a/Dockerfile b/Dockerfile index ab0f9dc..c5d63fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG BUILD_ENV=git FROM docker.io/openresty/openresty:alpine-fat as with_deps -RUN luarocks install lua-resty-http +RUN luarocks install lua-resty-http 0.17.1-0 FROM with_deps as git ARG BUILD_ENV=git diff --git a/debian/postinst b/debian/postinst index 9aa5c06..193580d 100644 --- a/debian/postinst +++ b/debian/postinst @@ -10,7 +10,7 @@ LAPI_DEFAULT_PORT="8080" check_lua_dependency() { DEPENDENCY=( - "pintsized/lua-resty-http" + "ledgetech/lua-resty-http=0.17.1" ) for dep in ${DEPENDENCY[@]}; do diff --git a/install.sh b/install.sh index df01d70..6a07c9f 100755 --- a/install.sh +++ b/install.sh @@ -125,7 +125,7 @@ check_openresty_dependency() { check_lua_dependency() { DEPENDENCY=( \ - "pintsized/lua-resty-http" \ + "ledgetech/lua-resty-http=0.17.1" \ ) for dep in "${DEPENDENCY[@]}"; do diff --git a/rpm/SPECS/crowdsec-openresty-bouncer.spec b/rpm/SPECS/crowdsec-openresty-bouncer.spec index 368e14d..6497b96 100644 --- a/rpm/SPECS/crowdsec-openresty-bouncer.spec +++ b/rpm/SPECS/crowdsec-openresty-bouncer.spec @@ -74,7 +74,7 @@ CERTS=( check_lua_dependency() { DEPENDENCY=( - "pintsized/lua-resty-http" + "ledgetech/lua-resty-http=0.17.1" ) for dep in ${DEPENDENCY[@]}; do diff --git a/uninstall.sh b/uninstall.sh index 2a6f849..bf349e6 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -38,7 +38,7 @@ check_pkg_manager(){ remove_lua_dependency() { DEPENDENCY=( - "pintsized/lua-resty-http" + "ledgetech/lua-resty-http" ) for dep in ${DEPENDENCY[@]}; do