Sign inSign up

tomzo/dotnet-ide

By tomzo

Updated almost 8 years ago

Isolated development environment in docker for dotnet projects

Image
0

2.6K

tomzo/dotnet-ide repository overview

docker-dotnet-ide

An IDE docker image with tools for dotnet development. Based on microsoft/dotnet image. Implements a few conventions from IDE project, which provides a quick and repeatable method for building your projects (in docker) without installing anything.

Specification

There 4 variants of this image. Because mono is still needed in some projects.

  • basic (everything) mono and dotnet core. tag: <version>
  • core only (debian stretch). tag stretch-<version>
  • core only (ubuntu bionic). tag bionic-<version>
  • core only (alpine 3.7). tag alpine3.7-<version>

This image has installed:

  • dotnet SDK 2.1
  • NuGet CLI
  • Paket installed globally. 5.182.0-alpha001
  • Fake installed globally.
  • (only in mono-variant) Mono 5.14.0.177

Usage

  1. Install IDE. (It's just a script on $PATH)
  2. In your project you should have an Idefile
IDE_DRIVER=docker
IDE_DOCKER_IMAGE="tomzo/dotnet-ide:2.0.0"
  1. Run some build commands:
ide paket install
ide msbuild /t:Publish

By default, current directory in docker container is /ide/work, which is a mount from your current docker host.

You can also enter interactive mode by just running ide in the root of your project.

Example projects

License

MIT

Tag summary

Content type

Image

Digest

Size

916.4 MB

Last updated

almost 8 years ago

docker pull tomzo/dotnet-ide:2.1.0