Skip to content

Commit

Permalink
fix LUA_LIB_DIR env variable to use 5.4 in docker (#49)
Browse files Browse the repository at this point in the history
* fix LUA_LIB_DIR env variable to use 5.4 in docker
* fixed path everywhere else
* improved configuration to better handle 5.4

Co-authored-by: Vikas Tawniya <[email protected]>
  • Loading branch information
fabiocicerchia and vikas-tawniya authored May 16, 2022
1 parent 379914e commit b2f96f0
Show file tree
Hide file tree
Showing 34 changed files with 144 additions and 50 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

ARG ARCH=
ARG DISTRO=alpine
ARG DISTRO_VER=3.15
ARG DISTRO_VER=3.15.4

#############################
# Settings Common Variables #
Expand Down Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -60,7 +61,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
3 changes: 2 additions & 1 deletion bin/generate-dockerfiles.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import shutil
import common
import re

if __name__ == "__main__":
versions = common.get_all_versions()
Expand All @@ -11,7 +12,7 @@
(exitcode, dockerfiles) = common.run_command("find nginx -type f -name 'Dockerfile'", False)
dockerfiles = list(
filter(
lambda elem: elem.find("alpine") != -1,
lambda elem: re.search("nginx/.+/alpine/\d+\.\d+\.\d+/", elem),
dockerfiles.split("\n")))
dockerfiles.sort(reverse=True)
shutil.copyfile(dockerfiles[0], "./Dockerfile")
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/almalinux/8.5-20220306/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -60,7 +61,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/almalinux/8.5-20220306/Dockerfile-compat
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -61,7 +62,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
15 changes: 12 additions & 3 deletions nginx/1.21.6/almalinux/8.5-20220306/tpl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ dep-ngx_devel_kit:

# OpenResty LUAJIT2
# ##############################################################################
dep-luajit:
# This is because OpenResty LuaJIT2 is stuck on Lua 5.1 since 2009.
# Also, since LUA_LIB_DIR is set on 5.4, the 5.1 folder is always empty and nginx
# will try to look things in the wrong one, unless provided with:
# lua_package_path '/usr/local/share/lua/5.4/?.lua;;';
# lua_package_cpath '/usr/local/lib/lua/5.4/?.so;;';
.workaround-luajit:
ln -s /usr/local/lib/lua/5.4 /usr/local/lib/lua/5.1
ln -s /usr/local/share/lua/5.4 /usr/local/share/lua/5.1

dep-luajit: .workaround-luajit
curl -sLo /luajit.tar.gz https://github.com/openresty/luajit2/archive/v${VER_LUAJIT}.tar.gz
tar -C / -xvzf /luajit.tar.gz
cd /luajit2-${VER_LUAJIT} \
Expand Down Expand Up @@ -166,8 +175,8 @@ dep-lua-openresty-signal:
cd /lua-resty-signal-${VER_OPENRESTY_SIGNAL} \
&& make \
&& make install \
&& install -d /usr/local/lib/lua/5.1 \
&& install /usr/local/share/lua/5.1/librestysignal.so /usr/local/lib/lua/5.1/librestysignal.so
&& install -d /usr/local/lib/lua/5.4 \
&& install /usr/local/share/lua/5.4/librestysignal.so /usr/local/lib/lua/5.4/librestysignal.so

# OpenResty Upstream Healthcheck
# ##############################################################################
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/alpine/3.15.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -60,7 +61,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/alpine/3.15.4/Dockerfile-compat
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -61,7 +62,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
15 changes: 12 additions & 3 deletions nginx/1.21.6/alpine/3.15.4/tpl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ dep-ngx_devel_kit:

# OpenResty LUAJIT2
# ##############################################################################
dep-luajit:
# This is because OpenResty LuaJIT2 is stuck on Lua 5.1 since 2009.
# Also, since LUA_LIB_DIR is set on 5.4, the 5.1 folder is always empty and nginx
# will try to look things in the wrong one, unless provided with:
# lua_package_path '/usr/local/share/lua/5.4/?.lua;;';
# lua_package_cpath '/usr/local/lib/lua/5.4/?.so;;';
.workaround-luajit:
ln -s /usr/local/lib/lua/5.4 /usr/local/lib/lua/5.1
ln -s /usr/local/share/lua/5.4 /usr/local/share/lua/5.1

dep-luajit: .workaround-luajit
curl -sLo /luajit.tar.gz https://github.com/openresty/luajit2/archive/v${VER_LUAJIT}.tar.gz
tar -C / -xvzf /luajit.tar.gz
cd /luajit2-${VER_LUAJIT} \
Expand Down Expand Up @@ -166,8 +175,8 @@ dep-lua-openresty-signal:
cd /lua-resty-signal-${VER_OPENRESTY_SIGNAL} \
&& make \
&& make install \
&& install -d /usr/local/lib/lua/5.1 \
&& install /usr/local/share/lua/5.1/librestysignal.so /usr/local/lib/lua/5.1/librestysignal.so
&& install -d /usr/local/lib/lua/5.4 \
&& install /usr/local/share/lua/5.4/librestysignal.so /usr/local/lib/lua/5.4/librestysignal.so

# OpenResty Upstream Healthcheck
# ##############################################################################
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/amazonlinux/2.0.20220426.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -60,7 +61,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/amazonlinux/2.0.20220426.0/Dockerfile-compat
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -61,7 +62,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
15 changes: 12 additions & 3 deletions nginx/1.21.6/amazonlinux/2.0.20220426.0/tpl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ dep-ngx_devel_kit:

# OpenResty LUAJIT2
# ##############################################################################
dep-luajit:
# This is because OpenResty LuaJIT2 is stuck on Lua 5.1 since 2009.
# Also, since LUA_LIB_DIR is set on 5.4, the 5.1 folder is always empty and nginx
# will try to look things in the wrong one, unless provided with:
# lua_package_path '/usr/local/share/lua/5.4/?.lua;;';
# lua_package_cpath '/usr/local/lib/lua/5.4/?.so;;';
.workaround-luajit:
ln -s /usr/local/lib/lua/5.4 /usr/local/lib/lua/5.1
ln -s /usr/local/share/lua/5.4 /usr/local/share/lua/5.1

dep-luajit: .workaround-luajit
curl -sLo /luajit.tar.gz https://github.com/openresty/luajit2/archive/v${VER_LUAJIT}.tar.gz
tar -C / -xvzf /luajit.tar.gz
cd /luajit2-${VER_LUAJIT} \
Expand Down Expand Up @@ -166,8 +175,8 @@ dep-lua-openresty-signal:
cd /lua-resty-signal-${VER_OPENRESTY_SIGNAL} \
&& make \
&& make install \
&& install -d /usr/local/lib/lua/5.1 \
&& install /usr/local/share/lua/5.1/librestysignal.so /usr/local/lib/lua/5.1/librestysignal.so
&& install -d /usr/local/lib/lua/5.4 \
&& install /usr/local/share/lua/5.4/librestysignal.so /usr/local/lib/lua/5.4/librestysignal.so

# OpenResty Upstream Healthcheck
# ##############################################################################
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/debian/11.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -60,7 +61,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/debian/11.3/Dockerfile-compat
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -61,7 +62,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
15 changes: 12 additions & 3 deletions nginx/1.21.6/debian/11.3/tpl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ dep-ngx_devel_kit:

# OpenResty LUAJIT2
# ##############################################################################
dep-luajit:
# This is because OpenResty LuaJIT2 is stuck on Lua 5.1 since 2009.
# Also, since LUA_LIB_DIR is set on 5.4, the 5.1 folder is always empty and nginx
# will try to look things in the wrong one, unless provided with:
# lua_package_path '/usr/local/share/lua/5.4/?.lua;;';
# lua_package_cpath '/usr/local/lib/lua/5.4/?.so;;';
.workaround-luajit:
ln -s /usr/local/lib/lua/5.4 /usr/local/lib/lua/5.1
ln -s /usr/local/share/lua/5.4 /usr/local/share/lua/5.1

dep-luajit: .workaround-luajit
curl -sLo /luajit.tar.gz https://github.com/openresty/luajit2/archive/v${VER_LUAJIT}.tar.gz
tar -C / -xvzf /luajit.tar.gz
cd /luajit2-${VER_LUAJIT} \
Expand Down Expand Up @@ -166,8 +175,8 @@ dep-lua-openresty-signal:
cd /lua-resty-signal-${VER_OPENRESTY_SIGNAL} \
&& make \
&& make install \
&& install -d /usr/local/lib/lua/5.1 \
&& install /usr/local/share/lua/5.1/librestysignal.so /usr/local/lib/lua/5.1/librestysignal.so
&& install -d /usr/local/lib/lua/5.4 \
&& install /usr/local/share/lua/5.4/librestysignal.so /usr/local/lib/lua/5.4/librestysignal.so

# OpenResty Upstream Healthcheck
# ##############################################################################
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/fedora/35/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -60,7 +61,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/fedora/35/Dockerfile-compat
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -61,7 +62,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
15 changes: 12 additions & 3 deletions nginx/1.21.6/fedora/35/tpl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,16 @@ dep-ngx_devel_kit:

# OpenResty LUAJIT2
# ##############################################################################
dep-luajit:
# This is because OpenResty LuaJIT2 is stuck on Lua 5.1 since 2009.
# Also, since LUA_LIB_DIR is set on 5.4, the 5.1 folder is always empty and nginx
# will try to look things in the wrong one, unless provided with:
# lua_package_path '/usr/local/share/lua/5.4/?.lua;;';
# lua_package_cpath '/usr/local/lib/lua/5.4/?.so;;';
.workaround-luajit:
ln -s /usr/local/lib/lua/5.4 /usr/local/lib/lua/5.1
ln -s /usr/local/share/lua/5.4 /usr/local/share/lua/5.1

dep-luajit: .workaround-luajit
curl -sLo /luajit.tar.gz https://github.com/openresty/luajit2/archive/v${VER_LUAJIT}.tar.gz
tar -C / -xvzf /luajit.tar.gz
cd /luajit2-${VER_LUAJIT} \
Expand Down Expand Up @@ -166,8 +175,8 @@ dep-lua-openresty-signal:
cd /lua-resty-signal-${VER_OPENRESTY_SIGNAL} \
&& make \
&& make install \
&& install -d /usr/local/lib/lua/5.1 \
&& install /usr/local/share/lua/5.1/librestysignal.so /usr/local/lib/lua/5.1/librestysignal.so
&& install -d /usr/local/lib/lua/5.4 \
&& install /usr/local/share/lua/5.4/librestysignal.so /usr/local/lib/lua/5.4/librestysignal.so

# OpenResty Upstream Healthcheck
# ##############################################################################
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/ubuntu/22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -60,7 +61,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
3 changes: 2 additions & 1 deletion nginx/1.21.6/ubuntu/22.04/Dockerfile-compat
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ENV VER_NGX_DEVEL_KIT=$VER_NGX_DEVEL_KIT

# luajit2
# https://github.com/openresty/luajit2/tags
# Note: LuaJIT2 is stuck on Lua 5.1 since 2009.
ARG VER_LUAJIT=2.1-20220310
ENV VER_LUAJIT=$VER_LUAJIT
ARG LUAJIT_LIB=/usr/local/lib
Expand All @@ -61,7 +62,7 @@ ENV VER_LUA_NGINX_MODULE=$VER_LUA_NGINX_MODULE
# This library is production ready.
ARG VER_LUA_RESTY_CORE=0.1.22
ENV VER_LUA_RESTY_CORE=$VER_LUA_RESTY_CORE
ARG LUA_LIB_DIR=/usr/local/share/lua/5.1
ARG LUA_LIB_DIR=/usr/local/share/lua/5.4
ENV LUA_LIB_DIR=$LUA_LIB_DIR

# lua-resty-lrucache
Expand Down
Loading

0 comments on commit b2f96f0

Please sign in to comment.