fix(agent): 内嵌 resty.ipmatcher,移除无效 opm 依赖

OPM 无 api7/lua-resty-ipmatcher 账号导致镜像构建失败;改为 vendor
api7 v0.6.1 并随 ManagedWAFLuaFiles 部署到 lua 目录。
This commit is contained in:
ryan
2026-07-19 14:57:51 +08:00
parent 1a7e5e6c41
commit 7366832e12
6 changed files with 600 additions and 3 deletions
-1
View File
@@ -28,7 +28,6 @@ FROM openresty/openresty:alpine
RUN apk add --no-cache ca-certificates tzdata perl libmaxminddb su-exec libcap \
&& ln -sf /usr/lib/libmaxminddb.so.0 /usr/lib/libmaxminddb.so \
&& opm get anjia0532/lua-resty-maxminddb \
&& opm get api7/lua-resty-ipmatcher \
&& addgroup -S openflare \
&& adduser -S -G openflare -H -h /data -s /sbin/nologin openflare \
&& mkdir -p /etc/openflare /data \