HUB
Sign inSign up

jscharnitzke/rust-build-windows

By jscharnitzke

•Updated almost 2 years ago

A basic Rust container that builds binaries targeting Windows.

Image
0

2.1K

jscharnitzke/rust-build-windows repository overview

⁠Build Rust Projects for Windows

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.

⁠Use

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].

⁠Source

The Dockerfile for this image is very simple if you'd rather build the image yourself: https://github.com/jscharnitzke/rust-build-windows⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:6c80b99ad…
Size
964.2 MB
Last updated
almost 2 years ago
docker pull jscharnitzke/rust-build-windows:latest