Skip to content

Commit

Permalink
Fix broken dev-build
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tkan145 committed Dec 3, 2024
1 parent d3b7604 commit f1e94f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile.devel
Original file line number Diff line number Diff line change
Expand Up @@ -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/ && \
Expand Down

0 comments on commit f1e94f9

Please sign in to comment.