network-monitor (master)

Published 2024-05-03 12:58:54 +08:00 by Ivan in display-ambient-light/network-monitor

Installation

docker pull git.ivanli.cc/display-ambient-light/network-monitor:master
sha256:6c83b9cbf2eca3afa7647b585b11cdd0d19b4470f532254e7aab5e695af1ed77

About this package

网络数据(网速)数据转换服务

Image Layers

ADD file:9b846fb660cf816c4e731c6f547b8e389343bc05aa2ec510b1dfc2bddd4d1c8a in /
CMD ["bash"]
LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust
ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUST_VERSION=1.78.0
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gcc libc6-dev wget ; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in amd64) rustArch='x86_64-unknown-linux-gnu'; rustupSha256='a3d541a5484c8fa2f1c21478a6f6c505a778d473c21d60a18a4df5185d320ef8' ;; armhf) rustArch='armv7-unknown-linux-gnueabihf'; rustupSha256='7cff34808434a28d5a697593cd7a46cefdf59c4670021debccd4c86afde0ff76' ;; arm64) rustArch='aarch64-unknown-linux-gnu'; rustupSha256='76cd420cb8a82e540025c5f97bda3c65ceb0b0661d5843e6ef177479813b0367' ;; i386) rustArch='i686-unknown-linux-gnu'; rustupSha256='cacdd10eb5ec58498cd95dbb7191fdab5fa4343e05daaf0fb7cdcae63be0a272' ;; *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.27.0/${rustArch}/rustup-init"; wget "$url"; echo "${rustupSha256} *rustup-init" | sha256sum -c -; chmod +x rustup-init; ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; rm rustup-init; chmod -R a+w $RUSTUP_HOME $CARGO_HOME; rustup --version; cargo --version; rustc --version; apt-get remove -y --auto-remove wget ; rm -rf /var/lib/apt/lists/*; # buildkit
WORKDIR /app
COPY ./target/x86_64-unknown-linux-musl/release/network-monitor . # buildkit
CMD ["/app/network-monitor"]

Labels

Key Value
org.opencontainers.image.created 2024-05-03T04:58:50.570Z
org.opencontainers.image.description 网络数据(网速)数据转换服务
org.opencontainers.image.licenses
org.opencontainers.image.revision c94243b8387f87e33f2cb37aca002ca3945e9eb3
org.opencontainers.image.source https://git.ivanli.cc/display-ambient-light/network-monitor
org.opencontainers.image.title network-monitor
org.opencontainers.image.url https://git.ivanli.cc/display-ambient-light/network-monitor
org.opencontainers.image.version master
Details
Container
2024-05-03 12:58:54 +08:00
11
OCI / Docker
linux/amd64
242 MiB
Versions (3) View all
master 2024-05-03
ci 2023-06-18
latest 2023-05-22