mirror of
https://github.com/teddysun/across.git
synced 2025-01-31 12:19:35 +08:00
Compare commits
5 Commits
e6a37de094
...
e6af8376d2
Author | SHA1 | Date | |
---|---|---|---|
|
e6af8376d2 | ||
|
846c48b4bd | ||
|
ea46b3c584 | ||
|
e76ceea346 | ||
|
6d95140d11 |
987
InstallNET.sh
987
InstallNET.sh
File diff suppressed because it is too large
Load Diff
17
bench.sh
17
bench.sh
@ -71,15 +71,24 @@ speed_test() {
|
|||||||
|
|
||||||
speed() {
|
speed() {
|
||||||
speed_test '' 'Speedtest.net'
|
speed_test '' 'Speedtest.net'
|
||||||
|
speed_test '29071' 'Chengdu, CN'
|
||||||
|
speed_test '17584' 'Chongqing, CN'
|
||||||
|
speed_test '29105' 'Xi an, CN'
|
||||||
|
speed_test '28225' 'Changsha, CN'
|
||||||
|
speed_test '29353' 'Wuhan, CN'
|
||||||
|
speed_test '16145' 'Lanzhou, CN'
|
||||||
|
speed_test '3973' 'Lanzhou, CN'
|
||||||
|
speed_test '41910' 'Zhengzhou, CN'
|
||||||
|
speed_test '36996' 'Guiyang, CN'
|
||||||
|
speed_test '24447' 'Shanghai, CN'
|
||||||
|
speed_test '26352' 'Nanjing, CN'
|
||||||
|
speed_test '27594' 'Guangzhou, CN'
|
||||||
|
speed_test '32155' 'Hongkong, CN'
|
||||||
speed_test '21541' 'Los Angeles, US'
|
speed_test '21541' 'Los Angeles, US'
|
||||||
speed_test '43860' 'Dallas, US'
|
speed_test '43860' 'Dallas, US'
|
||||||
speed_test '40879' 'Montreal, CA'
|
speed_test '40879' 'Montreal, CA'
|
||||||
speed_test '24215' 'Paris, FR'
|
speed_test '24215' 'Paris, FR'
|
||||||
speed_test '28922' 'Amsterdam, NL'
|
speed_test '28922' 'Amsterdam, NL'
|
||||||
speed_test '24447' 'Shanghai, CN'
|
|
||||||
speed_test '26352' 'Nanjing, CN'
|
|
||||||
speed_test '27594' 'Guangzhou, CN'
|
|
||||||
speed_test '32155' 'Hongkong, CN'
|
|
||||||
speed_test '6527' 'Seoul, KR'
|
speed_test '6527' 'Seoul, KR'
|
||||||
speed_test '7311' 'Singapore, SG'
|
speed_test '7311' 'Singapore, SG'
|
||||||
speed_test '21569' 'Tokyo, JP'
|
speed_test '21569' 'Tokyo, JP'
|
||||||
|
37
docker/rpmbuild/Dockerfile.fedora39
Normal file
37
docker/rpmbuild/Dockerfile.fedora39
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Dockerfile for build RPM packages.
|
||||||
|
# Copyright (C) 2023 Teddysun <i@teddysun.com>
|
||||||
|
|
||||||
|
FROM --platform=${TARGETPLATFORM} fedora:39
|
||||||
|
LABEL maintainer="Teddysun <i@teddysun.com>"
|
||||||
|
|
||||||
|
RUN dnf install -y yum-utils && \
|
||||||
|
dnf install -y tar wget git tree gcc gcc-c++ vim automake \
|
||||||
|
sudo net-tools make cmake zstd libzstd chkconfig libtool \
|
||||||
|
bash coreutils diffutils patch ca-certificates pcre-devel \
|
||||||
|
rpm-build rpm-devel rpmlint rpmdevtools ncurses which procps \
|
||||||
|
asciidoc audit-libs-devel binutils-devel flex jq gettext mbedtls-devel \
|
||||||
|
libcap-devel newt-devel pciutils-devel perl-generators c-ares-devel libev-devel \
|
||||||
|
python3 python3-devel python3-docutils rsync xmlto bc bison libsodium-devel \
|
||||||
|
java-devel ncurses-devel numactl-devel openssl-devel perl-devel \
|
||||||
|
bpftool dwarves gcc-plugin-devel glibc-static hmaccalc kernel-rpm-macros \
|
||||||
|
libbabeltrace-devel libbpf-devel libcap-ng-devel libnl3-devel libtraceevent-devel \
|
||||||
|
elfutils-devel xz-devel perl-ExtUtils-Embed && \
|
||||||
|
dnf clean all && rm -rf /var/cache/dnf /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
RUN useradd builder -u 1000 -m -G users,wheel && \
|
||||||
|
echo "builder ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||||
|
echo "# macros" > /home/builder/.rpmmacros && \
|
||||||
|
echo "%_topdir /home/builder/rpmbuild" >> /home/builder/.rpmmacros && \
|
||||||
|
echo "%_sourcedir %{_topdir}" >> /home/builder/.rpmmacros && \
|
||||||
|
echo "%_builddir %{_topdir}" >> /home/builder/.rpmmacros && \
|
||||||
|
echo "%_specdir %{_topdir}" >> /home/builder/.rpmmacros && \
|
||||||
|
echo "%_rpmdir %{_topdir}" >> /home/builder/.rpmmacros && \
|
||||||
|
echo "%_srcrpmdir %{_topdir}" >> /home/builder/.rpmmacros && \
|
||||||
|
echo "set enable-bracketed-paste off" >> /etc/inputrc && \
|
||||||
|
mkdir -p /home/builder/rpmbuild && \
|
||||||
|
chown -R builder /home/builder
|
||||||
|
|
||||||
|
USER builder
|
||||||
|
VOLUME /home/builder
|
||||||
|
WORKDIR /home/builder/rpmbuild
|
||||||
|
CMD ["/bin/bash"]
|
Loading…
x
Reference in New Issue
Block a user