File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ COPY config-*.lua /usr/local/openresty/config-5.1.lua
4444
4545ENV PATH="./lua_modules/bin:/usr/local/openresty/luajit/bin/:${PATH}" \
4646 LUA_PATH="./lua_modules/share/lua/5.1/?.lua;./lua_modules/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;/usr/share/lua/5.1/?.lua;/opt/app-root/lua_modules/share/lua/5.1/?.lua;/opt/app-root/lua_modules/share/lua/5.1/?/?.lua" \
47- LUA_CPATH="./lua_modules/lib/lua/5.1/?.so;/opt/app-root/lua_modules/lib64 /lua/5.1/?.so;/opt/app-root/lua_modules/lib64 /lua/5.1/?/?.so;;" \
47+ LUA_CPATH="./lua_modules/lib/lua/5.1/?.so;/opt/app-root/lua_modules/lib /lua/5.1/?.so;/opt/app-root/lua_modules/lib /lua/5.1/?/?.so;;" \
4848 LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/app-root/lib"
4949
5050RUN cd /tmp \
@@ -57,6 +57,8 @@ RUN cd /tmp \
5757 --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 \
5858 && make build \
5959 && make install \
60+ && luarocks install luaossl 20200709 --tree ${APP_ROOT}/lua_modules CFLAGS="-O2 -fPIC -DHAVE_EVP_KDF_CTX=1" \
61+ && luarocks install http --tree ${APP_ROOT}/lua_modules \
6062 && cd /tmp \
6163 && rm -rf luarocks-${LUAROCKS_VERSION} luarocks-${LUAROCKS_VERSION}.tar.gz \
6264 && curl -fSL https://github.com/3scale/lua-rover/archive/refs/tags/v${LUAROVER_VERSION}.tar.gz -o lua-rover-v${LUAROVER_VERSION}.tar.gz \
You can’t perform that action at this time.
0 commit comments