From 3b495b0f10cfc2e5403fa3989382f8d1cb0d34b6 Mon Sep 17 00:00:00 2001 From: James Strong Date: Sun, 1 Oct 2023 14:51:48 -0400 Subject: [PATCH] fix brotli build issues Signed-off-by: James Strong --- images/nginx/rootfs/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images/nginx/rootfs/build.sh b/images/nginx/rootfs/build.sh index e35fde7f4e..dc1d125478 100755 --- a/images/nginx/rootfs/build.sh +++ b/images/nginx/rootfs/build.sh @@ -466,8 +466,10 @@ make install # Get Brotli source and deps cd "$BUILD_PATH" -git clone --depth=1 https://github.com/google/ngx_brotli.git +git clone --depth=100 https://github.com/google/ngx_brotli.git cd ngx_brotli +# https://github.com/google/ngx_brotli/issues/156 +git reset --hard 63ca02abdcf79c9e788d2eedcc388d2335902e52 git submodule init git submodule update