Docker images, for the Docker container system
Перейти к файлу
Alexander Köplinger c895836e0e Move binutils and curl to fat image 2017-08-19 02:13:22 +02:00
3.12.1 Support fewer versions in generate-stackbrew-library.sh 2017-05-15 16:28:40 +02:00
4.8.0.524 Support fewer versions in generate-stackbrew-library.sh 2017-05-15 16:28:40 +02:00
5.0.1.1 Bump to mono 5.0.1.1 and switch to jessie-slim (#55) 2017-06-18 23:16:53 +02:00
5.2.0.215 Move binutils and curl to fat image 2017-08-19 02:13:22 +02:00
README-short.txt Initial commit 2014-10-16 17:28:02 +01:00
README.md Add new versions to README and generate-stackbrew-library.sh 2017-06-18 23:23:10 +02:00
generate-stackbrew-library.sh Add 5.2.0.215 Dockerfile, add slim variant, add additional architectures (#60) 2017-08-19 01:51:03 +02:00
logo.png Initial commit 2014-10-16 17:28:02 +01:00

README.md

Supported tags and Dockerfile links

Note: We push every Mono release to Docker Hub. The latest, latest-1 and the last version before a major version bump are periodically rebuilt by Docker Hub to pull in updates from the base Debian image. All other version tags are still available, but won't get those updates so you need to keep your images up to date by running apt yourself. We encourage you to move to latest Mono releases as soon as they're available.

What is Mono

Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for development of cross platform applications.

logo

How to use this image

This image will run stand-alone Mono console apps.

Create a Dockerfile in your Mono app project

This example Dockerfile will run an executable called TestingConsoleApp.exe.

FROM mono:3.10-onbuild
CMD [ "mono",  "./TestingConsoleApp.exe" ]

Place this file in the root of your app, next to the .sln solution file. Modify the exectuable name to match what you want to run.

This image includes ONBUILD triggers that adds your app source code to /usr/src/app/source, restores NuGet packages and compiles the app, placing the output in /usr/src/app/build.

With the Dockerfile in place, you can build and run a Docker image with your app:

docker build -t my-app .
docker run my-app

You should see any output from your app now.

Credits

This Docker image is provided by Xamarin, for users of the Mono Project.

Thanks to Michael Friis for his preliminary work.

Issues

Please report issues on the GitHub project.

License

This Docker Image is licensed with the Expat License. See the Mono Project licensing FAQ for details on how Mono and associated libraries are licensed.