Use wangguofang.net proxy and Tsinghua mirror for GitHub and libaio downloads
Switches the remaining gh-proxy.com references (rockylinux9, debian13) to wangguofang.net for consistency with alpine3.24, and points the libaio 0.3.113 download at the Tsinghua mirror instead of releases.pagure.org for faster access from mainland China. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019T6ypNZ1EUpKJQkXLopojx
This commit is contained in:
1 parent
0852115a0e
commit
30f1a3f771
4 files changed
+8
-8
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
# Source Stack Build Environments
|
# Source Stack Build Environments
|
||||||
|
|
||||||
Debian 13, Rocky Linux 9, and Alpine Linux container build environments with a C/C++ toolchain, CMake, and Git preinstalled, compatible with both Docker and Podman. The Alpine image builds the stack against musl libc. GitHub HTTPS URLs are routed through `gh-proxy.com`. For the libraries included in the images, their pinned versions, and build details, see [INCLUDED_LIBRARIES.md](INCLUDED_LIBRARIES.md).
|
Debian 13, Rocky Linux 9, and Alpine Linux container build environments with a C/C++ toolchain, CMake, and Git preinstalled, compatible with both Docker and Podman. The Alpine image builds the stack against musl libc. GitHub HTTPS URLs are routed through `wangguofang.net`. For the libraries included in the images, their pinned versions, and build details, see [INCLUDED_LIBRARIES.md](INCLUDED_LIBRARIES.md).
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ RUN curl --fail --location --output liburing.tar.gz \
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN curl --fail --location --output libaio.tar.gz \
|
RUN curl --fail --location --output libaio.tar.gz \
|
||||||
https://releases.pagure.org/libaio/libaio-0.3.113.tar.gz \
|
https://mirrors.tuna.tsinghua.edu.cn/debian/pool/main/liba/libaio/libaio_0.3.113.orig.tar.gz \
|
||||||
&& mkdir src \
|
&& mkdir src \
|
||||||
&& tar --extract --gzip --file=libaio.tar.gz --directory=src --strip-components=1 \
|
&& tar --extract --gzip --file=libaio.tar.gz --directory=src --strip-components=1 \
|
||||||
&& rm libaio.tar.gz \
|
&& rm libaio.tar.gz \
|
||||||
|
|||||||
+3
-3
@@ -19,7 +19,7 @@ RUN sed -i 's|deb.debian.org|mirrors.ustc.edu.cn|g' /etc/apt/sources.list.d/debi
|
|||||||
makeself \
|
makeself \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN git config --global url."https://gh-proxy.com/https://github.com/".insteadOf "https://github.com/"
|
RUN git config --global url."https://wangguofang.net/github.com/".insteadOf "https://github.com/"
|
||||||
|
|
||||||
RUN curl --fail --location --output boost.tar.bz2 \
|
RUN curl --fail --location --output boost.tar.bz2 \
|
||||||
https://mirrors.aliyun.com/blfs/conglomeration/boost/boost_1_83_0.tar.bz2 \
|
https://mirrors.aliyun.com/blfs/conglomeration/boost/boost_1_83_0.tar.bz2 \
|
||||||
@@ -184,7 +184,7 @@ RUN git clone --branch=liburing-2.15 --depth=1 https://github.com/axboe/liburing
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN curl --fail --location --output libaio.tar.gz \
|
RUN curl --fail --location --output libaio.tar.gz \
|
||||||
https://releases.pagure.org/libaio/libaio-0.3.113.tar.gz \
|
https://mirrors.tuna.tsinghua.edu.cn/debian/pool/main/liba/libaio/libaio_0.3.113.orig.tar.gz \
|
||||||
&& echo "2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b libaio.tar.gz" \
|
&& echo "2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b libaio.tar.gz" \
|
||||||
| sha256sum --check - \
|
| sha256sum --check - \
|
||||||
&& mkdir src \
|
&& mkdir src \
|
||||||
@@ -564,7 +564,7 @@ RUN git clone --branch=5.3.1 --depth=1 https://github.com/jemalloc/jemalloc.git
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN curl --fail --location --output libproxyprotocol.tar.gz \
|
RUN curl --fail --location --output libproxyprotocol.tar.gz \
|
||||||
https://gh-proxy.com/https://github.com/kosmas-valianos/libproxyprotocol/archive/v1.3.3.tar.gz \
|
https://wangguofang.net/github.com/kosmas-valianos/libproxyprotocol/archive/v1.3.3.tar.gz \
|
||||||
&& echo "4f1cbd714e5b52a91a9a43228d55c8165b578b738f743d057ae321b69b8437f7 libproxyprotocol.tar.gz" \
|
&& echo "4f1cbd714e5b52a91a9a43228d55c8165b578b738f743d057ae321b69b8437f7 libproxyprotocol.tar.gz" \
|
||||||
| sha256sum --check - \
|
| sha256sum --check - \
|
||||||
&& mkdir src \
|
&& mkdir src \
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ RUN dnf install --assumeyes --enablerepo=crb \
|
|||||||
&& dnf clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/dnf
|
&& rm -rf /var/cache/dnf
|
||||||
|
|
||||||
RUN git config --global url."https://gh-proxy.com/https://github.com/".insteadOf "https://github.com/"
|
RUN git config --global url."https://wangguofang.net/github.com/".insteadOf "https://github.com/"
|
||||||
|
|
||||||
RUN curl --fail --location --output boost.tar.bz2 \
|
RUN curl --fail --location --output boost.tar.bz2 \
|
||||||
https://mirrors.aliyun.com/blfs/conglomeration/boost/boost_1_83_0.tar.bz2 \
|
https://mirrors.aliyun.com/blfs/conglomeration/boost/boost_1_83_0.tar.bz2 \
|
||||||
@@ -192,7 +192,7 @@ RUN git clone --branch=liburing-2.15 --depth=1 https://github.com/axboe/liburing
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN curl --fail --location --output libaio.tar.gz \
|
RUN curl --fail --location --output libaio.tar.gz \
|
||||||
https://releases.pagure.org/libaio/libaio-0.3.113.tar.gz \
|
https://mirrors.tuna.tsinghua.edu.cn/debian/pool/main/liba/libaio/libaio_0.3.113.orig.tar.gz \
|
||||||
&& echo "2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b libaio.tar.gz" \
|
&& echo "2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b libaio.tar.gz" \
|
||||||
| sha256sum --check - \
|
| sha256sum --check - \
|
||||||
&& mkdir src \
|
&& mkdir src \
|
||||||
@@ -575,7 +575,7 @@ RUN git clone --branch=5.3.1 --depth=1 https://github.com/jemalloc/jemalloc.git
|
|||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
RUN curl --fail --location --output libproxyprotocol.tar.gz \
|
RUN curl --fail --location --output libproxyprotocol.tar.gz \
|
||||||
https://gh-proxy.com/https://github.com/kosmas-valianos/libproxyprotocol/archive/v1.3.3.tar.gz \
|
https://wangguofang.net/github.com/kosmas-valianos/libproxyprotocol/archive/v1.3.3.tar.gz \
|
||||||
&& echo "4f1cbd714e5b52a91a9a43228d55c8165b578b738f743d057ae321b69b8437f7 libproxyprotocol.tar.gz" \
|
&& echo "4f1cbd714e5b52a91a9a43228d55c8165b578b738f743d057ae321b69b8437f7 libproxyprotocol.tar.gz" \
|
||||||
| sha256sum --check - \
|
| sha256sum --check - \
|
||||||
&& mkdir src \
|
&& mkdir src \
|
||||||
|
|||||||
Reference in new issue
Block a user