matthias
  • Joined on 2019-07-26

rust-mute-build (windows-v1.0.0)

Published 2024-11-28 17:50:35 +00:00 by matthias

Installation

docker pull gitea.pb42.de/matthias/rust-mute-build:windows-v1.0.0
sha256:63ec05caed8f1becd5006813d5e5e576a1117388da513c126ab5d397316ef5c5

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-28T17:46:35Z
LABEL org.opencontainers.image.revision=e4f154b9e5c3952d9962782747629f5af23116f0
LABEL org.opencontainers.image.source=https://gitea.pb42.de/mutenix/build-docker.git
LABEL org.opencontainers.image.url=https://gitea.pb42.de/mutenix/build-docker

Labels

Key Value
org.cross-rs.for-cross-target x86_64-pc-windows-gnu
org.opencontainers.image.created 2024-11-28T17:46:35Z
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 e4f154b9e5c3952d9962782747629f5af23116f0
org.opencontainers.image.source https://gitea.pb42.de/mutenix/build-docker.git
org.opencontainers.image.title cross (for x86_64-pc-windows-gnu)
org.opencontainers.image.url https://gitea.pb42.de/mutenix/build-docker
org.opencontainers.image.version v0.2.5
Details
Container
2024-11-28 17:50:35 +00:00
1
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