matthias
  • Joined on 2019-07-26

rust-mute-build (windows)

Published 2024-11-27 08:12:12 +00:00 by matthias

Installation

docker pull gitea.pb42.de/matthias/rust-mute-build:windows
sha256:fa2ce3ea734de7c087b0595ba089ae919d131250233fb3e76c5d4431f1928e76

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-27T07:49:55Z
LABEL org.opencontainers.image.revision=ef5e778383e20bef73a9cd3cb04091bbdea45a27
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-27T07:49:55Z
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 ef5e778383e20bef73a9cd3cb04091bbdea45a27
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-27 08:12:12 +00:00
6
OCI / Docker
linux/amd64
MIT OR Apache-2.0
1.3 GiB
Versions (5) View all
macos-v1.0.0 2024-11-28
windows-v1.0.0 2024-11-28
macos 2024-11-27
windows 2024-11-27
latest 2024-11-26