Skip to content

Commit 768a5b2

Browse files
committed
Merge pull request #89 from infosiftr/mono
Add mono docs
2 parents fb5d8ee + 7413e5c commit 768a5b2

File tree

7 files changed

+117
-0
lines changed

7 files changed

+117
-0
lines changed

mono/README-short.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.

mono/README.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Supported tags and respective `Dockerfile` links
2+
3+
- [`3.10.0`, `3.10`, `latest` (*3.10.0/Dockerfile*)](https://github.com/mono/docker/blob/96aca22c58df59c08d345cbe8af79c11b43c5f1f/3.10.0/Dockerfile)
4+
- [`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)
5+
- [`3.8.0`, `3.8` (*3.8.0/Dockerfile*)](https://github.com/mono/docker/blob/96aca22c58df59c08d345cbe8af79c11b43c5f1f/3.8.0/Dockerfile)
6+
- [`3.8.0-onbuild`, `3.8-onbuild` (*3.8.0/onbuild/Dockerfile*)](https://github.com/mono/docker/blob/96aca22c58df59c08d345cbe8af79c11b43c5f1f/3.8.0/onbuild/Dockerfile)
7+
8+
For more information about this image and its history, please see the [relevant
9+
manifest file
10+
(`library/mono`)](https://github.com/docker-library/official-images/blob/master/library/mono)
11+
in the [`docker-library/official-images` GitHub
12+
repo](https://github.com/docker-library/official-images).
13+
14+
# What is Mono
15+
16+
Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET
17+
Framework based on the ECMA standards for C# and the Common Language Runtime. A
18+
growing family of solutions and an active and enthusiastic contributing
19+
community is helping position Mono to become the leading choice for development
20+
of cross platform applications.
21+
22+
* [Mono Project homepage](http://www.mono-project.com/)
23+
* [http://en.wikipedia.org/wiki/Mono_(software)](http://en.wikipedia.org/wiki/Mono_(software))
24+
25+
![logo](https://raw.githubusercontent.com/docker-library/docs/master/mono/logo.png)
26+
27+
# How to use this image
28+
29+
This image will run stand-alone Mono console apps.
30+
31+
## Create a `Dockerfile` in your Mono app project
32+
33+
This example Dockerfile will run an executable called `TestingConsoleApp.exe`.
34+
35+
FROM mono:3.10-onbuild
36+
CMD [ "mono", "./TestingConsoleApp.exe" ]
37+
38+
Place this file in the root of your app, next to the `.sln` solution file.
39+
Modify the exectuable name to match what you want to run.
40+
41+
This image includes `ONBUILD` triggers that adds your app source code to
42+
`/usr/src/app/source`, restores NuGet packages and compiles the app, placing the
43+
output in `/usr/src/app/build`.
44+
45+
With the Dockerfile in place, you can build and run a Docker image with your
46+
app:
47+
48+
docker build -t my-app .
49+
docker run my-app
50+
51+
You should see any output from your app now.
52+
53+
# Credits
54+
55+
This Docker image is provided by Xamarin, for users of the Mono Project.
56+
57+
Thanks to [Michael Friis](http://friism.com/) for his preliminary work.
58+
59+
# License
60+
61+
This Docker Image is licensed with the Expat License. See the [Mono Project
62+
licensing FAQ](http://www.mono-project.com/docs/faq/licensing/) for details on
63+
how Mono and associated libraries are licensed.
64+
65+
# User Feedback
66+
67+
Please report issues on the [GitHub project](https://github.com/mono/docker).

mono/content.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# What is Mono
2+
3+
Sponsored by Xamarin, Mono is an open source implementation of Microsoft's .NET
4+
Framework based on the ECMA standards for C# and the Common Language Runtime. A
5+
growing family of solutions and an active and enthusiastic contributing
6+
community is helping position Mono to become the leading choice for development
7+
of cross platform applications.
8+
9+
* [Mono Project homepage](http://www.mono-project.com/)
10+
* [http://en.wikipedia.org/wiki/Mono_(software)](http://en.wikipedia.org/wiki/Mono_(software))
11+
12+
%%LOGO%%
13+
14+
# How to use this image
15+
16+
This image will run stand-alone Mono console apps.
17+
18+
## Create a `Dockerfile` in your Mono app project
19+
20+
This example Dockerfile will run an executable called `TestingConsoleApp.exe`.
21+
22+
FROM mono:3.10-onbuild
23+
CMD [ "mono", "./TestingConsoleApp.exe" ]
24+
25+
Place this file in the root of your app, next to the `.sln` solution file.
26+
Modify the exectuable name to match what you want to run.
27+
28+
This image includes `ONBUILD` triggers that adds your app source code to
29+
`/usr/src/app/source`, restores NuGet packages and compiles the app, placing the
30+
output in `/usr/src/app/build`.
31+
32+
With the Dockerfile in place, you can build and run a Docker image with your
33+
app:
34+
35+
docker build -t my-app .
36+
docker run my-app
37+
38+
You should see any output from your app now.
39+
40+
# Credits
41+
42+
This Docker image is provided by Xamarin, for users of the Mono Project.
43+
44+
Thanks to [Michael Friis](http://friism.com/) for his preliminary work.

mono/license.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This Docker Image is licensed with the Expat License. See the [Mono Project
2+
licensing FAQ](http://www.mono-project.com/docs/faq/licensing/) for details on
3+
how Mono and associated libraries are licensed.

mono/logo.png

5.73 KB
Loading

mono/user-feedback.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Please report issues on the [GitHub project](https://github.com/mono/docker).

update.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ declare -A otherRepos=(
3434
[jenkins]='https://github.com/cloudbees/jenkins-ci.org-docker'
3535
[jruby]='https://github.com/cpuguy83/docker-jruby'
3636
[mageia]='https://github.com/juanluisbaptiste/docker-brew-mageia'
37+
[mono]='https://github.com/mono/docker'
3738
[neurodebian]='https://github.com/neurodebian/dockerfiles'
3839
[nginx]='https://github.com/nginxinc/docker-nginx'
3940
[opensuse]='https://github.com/openSUSE/docker-containers-build'

0 commit comments

Comments
 (0)