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/.