Sign inSign up

jscharnitzke/rust-build-windows

By jscharnitzke

•Updated over 1 year ago

A basic Rust container that builds binaries targeting Windows.

Image
0

1.7K

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

Content type

Image

Digest

sha256:6c80b99ad…

Size

964.2 MB

Last updated

over 1 year ago

docker pull jscharnitzke/rust-build-windows