onion2s-build (sha256:acd45565dd9d53c340f6cebacb8d4f429f76661bee6dd59987fa455186cc4558)
Installation
docker pull git.merp.digital/zenermerps/onion2s-build@sha256:acd45565dd9d53c340f6cebacb8d4f429f76661bee6dd59987fa455186cc4558
sha256:acd45565dd9d53c340f6cebacb8d4f429f76661bee6dd59987fa455186cc4558
About this package
“Zero setup” cross compilation and “cross testing” of Rust crates
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=18.04 |
ADD file:365c129e10f7ef1594e8086543b45f524313e36dd6a25b68f4da542a09491f04 in / |
CMD ["/bin/bash"] |
ARG DEBIAN_FRONTEND=noninteractive |
COPY common.sh lib.sh / # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c /common.sh # buildkit |
COPY cmake.sh / # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c /cmake.sh # buildkit |
COPY xargo.sh / # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c /xargo.sh # buildkit |
COPY qemu.sh / # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c /qemu.sh mips # buildkit |
COPY musl.sh / # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c /musl.sh TARGET=mips-linux-muslsf "COMMON_CONFIG += -with-arch=mips32r2" # buildkit |
ENV CROSS_MUSL_SYSROOT=/usr/local/mips-linux-muslsf |
COPY musl-symlink.sh / # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c /musl-symlink.sh $CROSS_MUSL_SYSROOT mips-sf # buildkit |
COPY qemu-runner / # buildkit |
ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_LINKER=mips-linux-muslsf-gcc CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_RUNNER=/qemu-runner mips CC_mips_unknown_linux_musl=mips-linux-muslsf-gcc CXX_mips_unknown_linux_musl=mips-linux-muslsf-g++ BINDGEN_EXTRA_CLANG_ARGS_mips_unknown_linux_musl=--sysroot=/usr/local/mips-linux-muslsf QEMU_LD_PREFIX=/usr/local/mips-linux-muslsf RUST_TEST_THREADS=1 |
RUN /bin/sh -c apt update && apt install -y git wget subversion build-essential libncurses5-dev zlib1g-dev gawk flex quilt git-core unzip libssl-dev python-dev python-pip libxml-parser-perl time # buildkit |
RUN /bin/sh -c git clone https://github.com/OnionIoT/source.git # buildkit |
COPY openwrt-build-config source/.config # buildkit |
ENV FORCE_UNSAFE_CONFIGURE=1 |
RUN /bin/sh -c cd source && make -j12 # buildkit |
Labels
Key | Value |
---|---|
org.cross-rs.for-cross-target | mips-unknown-linux-musl |
org.opencontainers.image.created | 2024-07-26T15:38:42Z |
org.opencontainers.image.description | “Zero setup” cross compilation and “cross testing” of Rust crates |
org.opencontainers.image.licenses | MIT OR Apache-2.0 |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.revision | 7d1aba878c02a5098f43cba721b3ee08ae686b03 |
org.opencontainers.image.source | https://git.merp.digital/zenermerps/onion2s-build.git |
org.opencontainers.image.title | cross (for mips-unknown-linux-musl) |
org.opencontainers.image.url | https://git.merp.digital/zenermerps/onion2s-build |
org.opencontainers.image.version | v0.2.5 |
Details
2024-07-26 16:08:05 +00:00
Versions (3)
View all
Container
0
OCI / Docker
linux/amd64
MIT OR Apache-2.0
3 GiB