8000 GitHub - Thomas-Mielke-Software/maui-docker: a Docker container for reproducably setting up a MAUI development environment
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Thomas-Mielke-Software/maui-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

maui-docker -- a Docker container for reproducably setting up a MAUI development environment

This is intended to demonstrate issues with MAUI and not for active development as changes in the container would get lost on a docker build.

Note: You need to have Docker installed and set up on your system to use this.

After git-cloning and cd into the repo, build the image:

docker build -t maui-env .

This will build MAUI along with GtkSharp already. Then visit the container using:

docker run -i --rm -t maui-env bash

Visual Studio Code is encouraged: Install VS Codes 'Dev Containers' extension, then right click the maui-env container and attach it to VS Code. To launch a sample app, start go to Open Folder in VS Code, choose /mauienv/maui-linux, let Code install recommended extensions, and enter these commands in VS Codes terminal window:

cd /mauienv/maui-linux/src/Controls/samples/Controls.Sample
dotnet run --framework net8.0-gtk

VS Code will then do some magic and start the gtk app on the container's host, without the need to explicitely install a .NET runtime there.

About

a Docker container for reproducably setting up a MAUI development environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0