From 5771fc2ceffee6d326bfb37b2aef6d6d10394ca5 Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 13 Jan 2026 16:09:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cmake=20=E5=A2=9E=E5=8A=A0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E9=99=90=E5=88=B6,=E8=A7=84=E9=81=BF=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 93885f0..d838100 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,7 +61,7 @@ RUN set -eux; \ apk add --no-cache libintl; \ apk add --no-cache --virtual .locale_build git cmake make musl-dev gcc gettext-dev; \ git clone https://gitlab.com/rilian-la-te/musl-locales; \ - cd musl-locales && cmake -DLOCALE_PROFILE=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr . && make && make install; \ + cd musl-locales && sed -i '1i cmake_minimum_required(VERSION 3.10)' CMakeLists.txt && cmake -Wno-dev -DLOCALE_PROFILE=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr . && make && make install; \ cd .. && rm -r musl-locales; \ apk del .locale_build; \ rm -rf /var/cache/apk/*;