https://github.com/noracodes/rust-mingw64-gtk-docker
Cross-build environment for Rust GTK+ apps from Linux to Windows.
https://github.com/noracodes/rust-mingw64-gtk-docker
Last synced: over 1 year ago
JSON representation
Cross-build environment for Rust GTK+ apps from Linux to Windows.
- Host: GitHub
- URL: https://github.com/noracodes/rust-mingw64-gtk-docker
- Owner: NoraCodes
- License: other
- Created: 2018-01-09T00:51:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T00:52:17.000Z (over 8 years ago)
- Last Synced: 2025-03-29T23:45:34.462Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`