network-monitor (ci)

Published 2023-06-18 20:34:21 +08:00 by Ivan in display-ambient-light/network-monitor

Installation

docker pull git.ivanli.cc/display-ambient-light/network-monitor:ci
sha256:f43a15290a1ea303486ff8dd98648d5283dc68ba8ece27383e5c2134908bfdfc

About this package

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

Image Layers

ADD file:2818e508d01da2188fb234b38fb19aa1ea9eeeae92d361ecdf49318d949f51a9 in /
CMD ["bash"]
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.70.0
/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='0b2f6c8f85a3d02fde2efc0ced4657869d73fccfce59defb4e8d29233116e6db' ;; armhf) rustArch='armv7-unknown-linux-gnueabihf'; rustupSha256='f21c44b01678c645d8fbba1e55e4180a01ac5af2d38bcbd14aa665e0d96ed69a' ;; arm64) rustArch='aarch64-unknown-linux-gnu'; rustupSha256='673e336c81c65e6b16dcdede33f4cc9ed0f08bde1dbe7a935f113605292dc800' ;; i386) rustArch='i686-unknown-linux-gnu'; rustupSha256='e7b0f47557c1afcd86939b118cbcf7fb95a5d1d917bdd355157b63ca00fc4333' ;; *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.26.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/*;
WORKDIR /app
COPY ./target/x86_64-unknown-linux-musl/release/network-monitor . # buildkit
CMD ["/app/network-monitor"]

Labels

Key Value
org.opencontainers.image.created 2023-06-18T12:33:26.569Z
org.opencontainers.image.description 网络数据(网速)数据转换服务
org.opencontainers.image.licenses
org.opencontainers.image.revision df8cb3bb6628bc30028f2e1371ba57dc18ff4205
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 ci
Details
Container
2023-06-18 20:34:21 +08:00
11
OCI / Docker
linux/amd64
254 MiB
Versions (3) View all
master 2024-11-17
ci 2023-06-18
latest 2023-05-22