A basic Rust container that builds binaries targeting Windows.
1.7K
The official Rust Docker image is configured to build for Linux targets out-of-the-box. This is just a simple Docker image to build Rust projects targeting Windows instead.
Debug Builds: docker run -rm -v "[path-to-Rust-project]:/app -w /app jscharnitzke/rust-build-windows
Release Builds: docker run -rm -v "[path-to-Rust-project]:/app -w /app jscharnitzke/rust-build-windows --release
.exe files will be output in [path-to-Rust-project]/target/x86_64-pc-windows-gnu/[debug|release].
The Dockerfile for this image is very simple if you'd rather build the image yourself: https://github.com/jscharnitzke/rust-build-windows
Content type
Image
Digest
sha256:6c80b99ad…
Size
964.2 MB
Last updated
over 1 year ago
docker pull jscharnitzke/rust-build-windows