Skip to content

Commit 65127c0

Browse files
authored
Merge pull request #1531 from tkan145/ci-image-http2
Reinstall http module to dev/ci image
2 parents 806c396 + ff18ce4 commit 65127c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.devel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ COPY config-*.lua /usr/local/openresty/config-5.1.lua
4444

4545
ENV 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

5050
RUN 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 \

0 commit comments

Comments
 (0)