forked from docker-library/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request docker-library#89 from infosiftr/mono
Add mono docs
- Loading branch information
Showing
7 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Supported tags and respective `Dockerfile` links | ||
|
||
- [`3.10.0`, `3.10`, `latest` (*3.10.0/Dockerfile*)](https://github.com/mono/docker/blob/96aca22c58df59c08d345cbe8af79c11b43c5f1f/3.10.0/Dockerfile) | ||
- [`3.10.0-onbuild`, `3.10-onbuild`, `onbuild` (*3.10.0/onbuild/Dockerfile*)](https://github.com/mono/docker/blob/96aca22c58df59c08d345cbe8af79c11b43c5f1f/3.10.0/onbuild/Dockerfile) | ||
- [`3.8.0`, `3.8` (*3.8.0/Dockerfile*)](https://github.com/mono/docker/blob/96aca22c58df59c08d345cbe8af79c11b43c5f1f/3.8.0/Dockerfile) | ||
- [`3.8.0-onbuild`, `3.8-onbuild` (*3.8.0/onbuild/Dockerfile*)](https://github.com/mono/docker/blob/96aca22c58df59c08d345cbe8af79c11b43c5f1f/3.8.0/onbuild/Dockerfile) | ||
|
||
For more information about this image and its history, please see the [relevant | ||
manifest file | ||
(`library/mono`)](https://github.com/docker-library/official-images/blob/master/library/mono) | ||
in the [`docker-library/official-images` GitHub | ||
repo](https://github.com/docker-library/official-images). | ||
|
||
# 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. | ||
|
||
* [Mono Project homepage](http://www.mono-project.com/) | ||
* [http://en.wikipedia.org/wiki/Mono_(software)](http://en.wikipedia.org/wiki/Mono_(software)) | ||
|
||
![logo](https://raw.githubusercontent.com/docker-library/docs/master/mono/logo.png) | ||
|
||
# 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](http://friism.com/) for his preliminary work. | ||
|
||
# License | ||
|
||
This Docker Image is licensed with the Expat License. See the [Mono Project | ||
licensing FAQ](http://www.mono-project.com/docs/faq/licensing/) for details on | ||
how Mono and associated libraries are licensed. | ||
|
||
# User Feedback | ||
|
||
Please report issues on the [GitHub project](https://github.com/mono/docker). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# 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. | ||
|
||
* [Mono Project homepage](http://www.mono-project.com/) | ||
* [http://en.wikipedia.org/wiki/Mono_(software)](http://en.wikipedia.org/wiki/Mono_(software)) | ||
|
||
%%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](http://friism.com/) for his preliminary work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This Docker Image is licensed with the Expat License. See the [Mono Project | ||
licensing FAQ](http://www.mono-project.com/docs/faq/licensing/) for details on | ||
how Mono and associated libraries are licensed. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please report issues on the [GitHub project](https://github.com/mono/docker). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters