Small Docker image with Mono (~177MB)
351
This image is based on Alpine Linux image and contains Mono.
Download size of this image is only:
$ echo 'using System; class MainClass { public static void Main (string[] args) { Console.WriteLine ("Hello World"); } }' > example.mono
$ docker run --rm -v "$(pwd)":/mnt skantar/linux-csharp sh -c "mcs -out:/mnt/example.exe /mnt/example.mono && mono /mnt/example.exe"
Once you have run these commands you will have example.exe mono-executable in your
current directory, and you will get printed 'Hello World' from Mono!
Content type
Image
Digest
Size
61 MB
Last updated
almost 10 years ago
docker pull skantar/linux-csharp