onion2s-build (sha256:611827e0618eeb5dd58724345852fa8166bbad129eddfac8bf296ecfd90c553f)
Installation
docker pull git.merp.digital/zenermerps/onion2s-build@sha256:611827e0618eeb5dd58724345852fa8166bbad129eddfac8bf296ecfd90c553f
sha256:611827e0618eeb5dd58724345852fa8166bbad129eddfac8bf296ecfd90c553f
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:43Z |
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 | 5457fa9dacc1cf91e55cbb1a2e2e2140bf38e00c |
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 | 1.0.0 |
Details
2024-07-26 16:08:04 +00:00
Versions (3)
View all
Container
3
OCI / Docker
linux/amd64
MIT OR Apache-2.0
3 GiB