onion2s-build (sha256:17536847a8e099a143f63d3fd90f13b8c90e8b89befb512ac50a698933b69fea)
Installation
docker pull git.merp.digital/zenermerps/onion2s-build@sha256:17536847a8e099a143f63d3fd90f13b8c90e8b89befb512ac50a698933b69fea
sha256:17536847a8e099a143f63d3fd90f13b8c90e8b89befb512ac50a698933b69fea
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 |
ENV CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc |
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-11-21T07:27:53Z |
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 | 21264640b707db4fd83b7a8098f3c680c947f8e4 |
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-11-21 07:53:01 +00:00
Versions (4)
View all
Container
0
OCI / Docker
linux/amd64
MIT OR Apache-2.0
3 GiB