fix right command

This commit is contained in:
wiaamm 2025-07-28 11:09:05 +03:00
parent 5a1945df62
commit 43b0253954
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM kong
FROM kong/kong-gateway
USER root
@ -22,7 +22,7 @@ RUN curl -fSL https://luarocks.org/releases/luarocks-${LUAROCKS_VER}.tar.gz -o l
cd .. && rm -rf luarocks-${LUAROCKS_VER}*
# Install the plugin via LuaRocks
RUN luarocks https://raw.githubusercontent.com/openappsec/attachment/main/attachments/kong/plugins/open-appsec-waf-kong-plugin/open-appsec-waf-kong-plugin-1.0.0-1.rockspec --deps-mode=all
RUN luarocks install https://raw.githubusercontent.com/openappsec/attachment/main/attachments/kong/plugins/open-appsec-waf-kong-plugin/open-appsec-waf-kong-plugin-1.0.0-1.rockspec --deps-mode=all
USER kong

View File

@ -22,7 +22,7 @@ RUN curl -fSL https://luarocks.org/releases/luarocks-${LUAROCKS_VER}.tar.gz -o l
cd .. && rm -rf luarocks-${LUAROCKS_VER}*
# Install the plugin via LuaRocks
RUN luarocks https://raw.githubusercontent.com/openappsec/attachment/main/attachments/kong/plugins/open-appsec-waf-kong-plugin/open-appsec-waf-kong-plugin-1.0.0-1.rockspec --deps-mode=all
RUN luarocks install https://raw.githubusercontent.com/openappsec/attachment/main/attachments/kong/plugins/open-appsec-waf-kong-plugin/open-appsec-waf-kong-plugin-1.0.0-1.rockspec --deps-mode=all
USER kong