Skip to content

esolitos/docker-alpine-mono

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Docker Stars Docker Pulls

Mono (C#) Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains Mono.

Download size of this image is only:

Usage Example

$ echo 'using System; class MainClass { public static void Main (string[] args) { Console.WriteLine ("Hello World"); } }' > qq.mono
$ docker run --rm -v "$(pwd)":/mnt esolitos/alpine-mono sh -c "mcs -out:/mnt/qq.exe /mnt/qq.mono && mono /mnt/qq.exe"

Once you have run these commands you will have qq.exe mono-executable in your current directory, and you will get printed 'Hello World' from Mono!

About

The smallest Docker image with Mono (~130MB)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%