onion2s-build (sha256:799f0a165ce22df804d5299597f809a40e84afc9927bc1de1044659248909d3b)
Installation
docker pull git.merp.digital/zenermerps/onion2s-build@sha256:799f0a165ce22df804d5299597f809a40e84afc9927bc1de1044659248909d3b
sha256:799f0a165ce22df804d5299597f809a40e84afc9927bc1de1044659248909d3b
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:28:00Z |
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 | 755271a3316934b7f96fd2aacb63eaf64e434567 |
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.1.0 |
Details
2024-11-21 07:53:22 +00:00
Versions (4)
View all
Container
1
OCI / Docker
linux/amd64
MIT OR Apache-2.0
3 GiB