From 23d388d50b12a116e8c7a6a1ac3755dadd7535a9 Mon Sep 17 00:00:00 2001 From: Wangchong Zhou Date: Wed, 15 May 2024 20:37:22 +0800 Subject: [PATCH] fix(build): remove the original websocket library from openresty --- build/BUILD.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/BUILD.bazel b/build/BUILD.bazel index 3a939f95e7e9..3af4f65ac45a 100644 --- a/build/BUILD.bazel +++ b/build/BUILD.bazel @@ -236,6 +236,9 @@ kong_genrule( mkdir -p ${BUILD_DESTDIR}/etc/kong/ cp ${WORKSPACE_PATH}/kong.conf.default ${BUILD_DESTDIR}/etc/kong/kong.conf.default + # TODO: remove this after lua-resty-websocket becomes a patch or merged to upstream + rm -rf ${BUILD_DESTDIR}/openresty/lualib/resty/websocket + # housecleaning if [[ -d ${BUILD_DESTDIR}/kong/lib64 ]]; then cp -r ${BUILD_DESTDIR}/kong/lib64/* ${BUILD_DESTDIR}/kong/lib/.