Clone log4cplus from GitHub instead of the gitee mirror
Its ThreadPool submodule already comes from github.com/log4cplus/ThreadPool, so pull the main repo from the canonical github.com/log4cplus/log4cplus too, keeping both fetches consistently routed through the wangguofang.net/github.com proxy instead of mixing sources. Verified with a full build. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGpSs9pKTbvPkmFvBaWhBp
This commit is contained in:
1 parent
c6d2f963d2
commit
874c6ead1b
1 file changed
+1
-1
@@ -120,7 +120,7 @@ RUN curl --fail --location --output protobuf.tar.gz \
|
|||||||
&& cmake --build build --parallel "$(nproc)" --target install \
|
&& cmake --build build --parallel "$(nproc)" --target install \
|
||||||
&& rm -rf build src
|
&& rm -rf build src
|
||||||
|
|
||||||
RUN git clone --branch=REL_2_0_5 --depth=1 https://gitee.com/mirrors/log4cplus.git src \
|
RUN git clone --branch=REL_2_0_5 --depth=1 https://github.com/log4cplus/log4cplus.git src \
|
||||||
&& git -C src submodule update --init --depth=1 threadpool \
|
&& git -C src submodule update --init --depth=1 threadpool \
|
||||||
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||||
|
|||||||
Reference in new issue
Block a user