Skip to content

Cross-build environment for Rust GTK+ apps from Linux to Windows.

License

Notifications You must be signed in to change notification settings

NoraCodes/rust-mingw64-gtk-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

rust-mingw64-gtk Docker image

This Fedora-based Docker image allows you to quickly and easily build GTK+3 apps written in Rust for the Windows MinGW-W64 (Windows 64-bit) platform without installing all the dependencies natively.

It is meant to be customized for your use case, but also has a published Docker image.

Usage

One could build a project in the current directory, where this Dockerfile is, by

  1. Modifying the Dockerfile to add all your native dependencies
  2. Building the image: $ docker build . -t PROJECTNAME-build-image
  3. Creating a container with the source mounted the image (which kicks off the build): $ docker create -v $(pwd):/home/rustacean/src --name PROJECTNAME-build PROJECTNAME-build-image
  4. Each time you want to build the project, start the Docker container. Add "-ai" to watch the build progress. $ docker start PROJECTNAME-build

About

Cross-build environment for Rust GTK+ apps from Linux to Windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published