From f1e94f949d072f329760ab38897dd99adc076d53 Mon Sep 17 00:00:00 2001 From: An Tran Date: Tue, 3 Dec 2024 10:48:35 +1000 Subject: [PATCH] Fix broken dev-build lua-rover rockspec points to the master branch and this causes the dev-build to fail due to our recent work to support luarocks v3. With this PR, we install lua-rover directly from source --- Dockerfile.devel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile.devel b/Dockerfile.devel index a15afac47..4d2cf6065 100644 --- a/Dockerfile.devel +++ b/Dockerfile.devel @@ -52,7 +52,10 @@ ENV PATH="./lua_modules/bin:/usr/local/openresty/luajit/bin/:${PATH}" \ RUN yum install -y luarocks-${LUAROCKS_VERSION} && \ luarocks install luaossl 20200709 --tree ${APP_ROOT}/lua_modules CFLAGS="-O2 -fPIC -DHAVE_EVP_KDF_CTX=1" && \ luarocks install http --tree ${APP_ROOT}/lua_modules && \ - luarocks install --server=http://luarocks.org/dev lua-rover && \ + curl -fSL https://github.com/3scale/lua-rover/archive/refs/tags/v0.1.0.tar.gz -o lua-rover-v0.1.0.tar.gz && \ + tar xzf lua-rover-v0.1.0.tar.gz && \ + cd lua-rover-0.1.0 && \ + luarocks make && \ rover -v && \ yum -y remove luarocks && \ ln -s /usr/bin/rover /usr/local/openresty/luajit/bin/ && \