services-xbee_net (sha256:841da7b3d833513f45c9183f784ef49cdd6533cc675e2f0bf06819893c3c9d63)

Published 2024-09-10 16:41:44 -03:00 by spiri-buildbot

Installation

docker pull git.spirirobotics.com/spiri/services-xbee_net@sha256:841da7b3d833513f45c9183f784ef49cdd6533cc675e2f0bf06819893c3c9d63
sha256:841da7b3d833513f45c9183f784ef49cdd6533cc675e2f0bf06819893c3c9d63

Image Layers

ADD file:1129dcf71f67461f4730620f8148cc9ebc7641966fa683cdf84807219ad288b2 in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/*
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.81.0
RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in amd64) rustArch='x86_64-unknown-linux-gnu'; rustupSha256='6aeece6993e902708983b209d04c0d1dbb14ebb405ddb87def578d41f920f56d' ;; armhf) rustArch='armv7-unknown-linux-gnueabihf'; rustupSha256='3c4114923305f1cd3b96ce3454e9e549ad4aa7c07c03aec73d1a785e98388bed' ;; arm64) rustArch='aarch64-unknown-linux-gnu'; rustupSha256='1cffbf51e63e634c746f741de50649bbbcbd9dbe1de363c9ecef64e278dba2b2' ;; i386) rustArch='i686-unknown-linux-gnu'; rustupSha256='0a6bed6e9f21192a51f83977716466895706059afb880500ff1d0e751ada5237' ;; ppc64el) rustArch='powerpc64le-unknown-linux-gnu'; rustupSha256='079430f58ad4da1d1f4f5f2f0bd321422373213246a93b3ddb53dad627f5aa38' ;; s390x) rustArch='s390x-unknown-linux-gnu'; rustupSha256='e7f89da453c8ce5771c28279d1a01d5e83541d420695c74ec81a7ec5d287c51c' ;; *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.27.1/${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; # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y libudev-dev iproute2 iputils-ping net-tools bridge-utils iptables traceroute nmap tcpdump util-linux bsdmainutils vim && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c git clone https://github.com/jgoerzen/xbnet.git /usr/src/xbnet # buildkit
WORKDIR /usr/src/xbnet
RUN /bin/sh -c cargo build --release # buildkit
RUN /bin/sh -c cp target/release/xbnet /usr/local/bin/xbnet # buildkit
COPY ./scripts/entrypoint.sh /entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit
COPY ./scripts/set-env-vars.sh /set-env-vars.sh # buildkit
RUN /bin/sh -c chmod +x /set-env-vars.sh # buildkit
COPY ./scripts/health-check.sh /health-check.sh # buildkit
RUN /bin/sh -c chmod +x /health-check.sh # buildkit
COPY ./scripts/debug/host-setup-docker.sh /host-setup-docker.sh # buildkit
RUN /bin/sh -c chmod +x /host-setup-docker.sh # buildkit
HEALTHCHECK &{["CMD-SHELL" "/health-check.sh || exit 1"] "0s" "0s" "0s" "0s" '\x00'}

Labels

Key Value
org.opencontainers.image.created 2024-09-10T19:36:50.261Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 12023866eec484f71121fafb40b20d069919ebae
org.opencontainers.image.source https://git.spirirobotics.com/Spiri/services-xbee_net
org.opencontainers.image.title services-xbee_net
org.opencontainers.image.url https://git.spirirobotics.com/Spiri/services-xbee_net
org.opencontainers.image.version main
Details
Container
2024-09-10 16:41:44 -03:00
3
OCI / Docker
linux/amd64
566 MiB
Versions (3) View all
ssh-test 2024-09-13
main 2024-09-10
build-pipeline-test 2024-09-10