Skip to content

This repository provides docker images for building libadwaita-rs, gtk-rs applications

License

Notifications You must be signed in to change notification settings

13hannes11/gtk4-rs-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gtk4-rs-docker

This repository contains the build instructions for a rust libadwaita gtk app. And an example app.

Image Building

To build the image go to the main repository and run:

BaseImage

docker build base -t gtk4-rs-docker

AppImage

docker build appimage -t gtk4-rs-docker

Compiling the example application

To compile the example application use docker-compose (note your system needs libadwaita to run the example application unless you build the AppImage):

docker-compose up

Using for your own application

To use this image for your own application simply copy the docker-compose file to your application directory and modify the path of the volume mount to your project directory: You need to modify ../adwaita-demo to that path in in the compose file):

    volumes:
      - ../adwaita-demo:/mnt:z

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.