vps_bench 0.2.0

奇遇科技 VPS 性能测试工具
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM debian:buster as base

RUN apt update && apt install -y curl
RUN curl --proto '=https' -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup toolchain install stable --allow-downgrade --profile minimal

RUN apt install -y gcc

COPY . /app
RUN cd /app && cargo build --release


FROM debian:buster

COPY --from=base /app/target/release/vps_bench /bin/

RUN apt update && apt install -y python3 python3-pip && pip3 install speedtest-cli