Coder Social home page Coder Social logo

docker's Introduction

Supported tags and Dockerfile links

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.

docker's People

Contributors

directhex avatar tianon avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.