matthias
  • Joined on 2019-07-26

rust-mute-build (latest)

Published 2024-11-26 21:05:41 +00:00 by matthias

Installation

docker pull gitea.pb42.de/matthias/rust-mute-build:latest
sha256:1a4ffeca129c418ea61033a57c831552c40618231ae95fa495290bbf95c0d03a

About this package

“Zero setup” cross compilation and “cross testing” of Rust crates

Image Layers

ADD file:40290d9a94ae76c35ab1f57178130ce1c5b976e34a91e77472ecf7e945ab64f9 in /
CMD ["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
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c dpkg --add-architecture i386 && apt-get update && apt-get install --assume-yes --no-install-recommends libz-mingw-w64-dev # buildkit
COPY wine.sh / # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c /wine.sh # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install --assume-yes --no-install-recommends g++-mingw-w64-x86-64 # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c mkdir -p /usr/lib/binfmt-support/ && rm -f /usr/lib/binfmt-support/run-detectors /usr/bin/run-detectors && ln -s /usr/bin/wine /usr/lib/binfmt-support/run-detectors && ln -s /usr/bin/wine /usr/bin/run-detectors # buildkit
COPY windows-entry.sh / # buildkit
ENTRYPOINT ["/windows-entry.sh"]
ENV CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=x86_64-w64-mingw32-gcc CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER=wine CC_x86_64_pc_windows_gnu=x86_64-w64-mingw32-gcc-posix CXX_x86_64_pc_windows_gnu=x86_64-w64-mingw32-g++-posix BINDGEN_EXTRA_CLANG_ARGS_x86_64_pc_windows_gnu=--sysroot=/usr/x86_64-w64-mingw32
ENV TARGET=x86_64-pc-windows-gnu
/bin/sh -c apt-get update && apt-get install -y gcc-mingw-w64-x86-64 gcc-mingw-w64 curl libc6 glibc-source && apt-get clean && rm -rf /var/lib/apt/lists/*g
/bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
/bin/sh -c . "$HOME/.cargo/env" && rustup target add $TARGET
LABEL org.opencontainers.image.created=2024-11-14T20:13:00Z
LABEL org.opencontainers.image.revision=079ae5f14fab4dbf96feebb88c46b90e4b50bdf7
LABEL org.opencontainers.image.source=https://gitea.pb42.de/matthias/rust-mute.git
LABEL org.opencontainers.image.url=https://gitea.pb42.de/matthias/rust-mute

Labels

Key Value
org.cross-rs.for-cross-target x86_64-pc-windows-gnu
org.opencontainers.image.created 2024-11-14T20:13: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.revision 079ae5f14fab4dbf96feebb88c46b90e4b50bdf7
org.opencontainers.image.source https://gitea.pb42.de/matthias/rust-mute.git
org.opencontainers.image.title cross (for x86_64-pc-windows-gnu)
org.opencontainers.image.url https://gitea.pb42.de/matthias/rust-mute
org.opencontainers.image.version v0.2.5
Details
Container
2024-11-26 21:05:41 +00:00
2
OCI / Docker
linux/amd64
MIT OR Apache-2.0
1.3 GiB
Versions (1) View all
latest 2024-11-26