File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,22 @@ RUN install -D -m 0644 /usr/local/lib/libluajit-5.1.so.2 /usr/lib/x86_64-linux-g
4848 && printf "/usr/local/lib\n /usr/lib/x86_64-linux-gnu\n " > /etc/ld.so.conf.d/zz-nginx-luajit.conf \
4949 && ldconfig
5050
51+ ARG RESTY_CORE_VER=0.1.28
52+ ARG RESTY_LRU_VER=0.13
53+
54+ ENV LUA_PATH="/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;./?.lua;;"
55+ ENV LUA_CPATH="/usr/local/lib/lua/5.1/?.so;./?.so;;"
56+
57+ RUN set -euo pipefail; \
58+ mkdir -p /usr/local/share/lua/5.1 /usr/local/lib/lua/5.1; \
59+ curl -fL -o /tmp/lua-resty-core.tar.gz https://github.com/openresty/lua-resty-core/archive/refs/tags/v${RESTY_CORE_VER}.tar.gz; \
60+ tar -xzf /tmp/lua-resty-core.tar.gz -C /tmp; \
61+ cp -R /tmp/lua-resty-core-*/lib/resty /usr/local/share/lua/5.1/; \
62+ curl -fL -o /tmp/lua-resty-lrucache.tar.gz https://github.com/openresty/lua-resty-lrucache/archive/refs/tags/v${RESTY_LRU_VER}.tar.gz; \
63+ tar -xzf /tmp/lua-resty-lrucache.tar.gz -C /tmp; \
64+ cp -R /tmp/lua-resty-lrucache-*/lib/resty /usr/local/share/lua/5.1/; \
65+ rm -rf /tmp/lua-resty-*
66+
5167ADD https://github.com/airslate-ops/nginx-ingress-controller/releases/download/${VTS_VERSION}/ngx_http_vhost_traffic_status_module.so ${MODULES_DIR}/
5268ADD https://github.com/airslate-ops/nginx-ingress-controller/releases/download/${OTEL_VERSION}/ngx_otel_module.so ${MODULES_DIR}/
5369ADD https://github.com/airslate-ops/nginx-ingress-controller/releases/download/${BROTLI_VERSION}/ngx_http_brotli_filter_module.so ${MODULES_DIR}/
You can’t perform that action at this time.
0 commit comments