microsoft / generator-docker

Yeoman generator for Docker
Other
346 stars 69 forks source link

Use a containerized dotnet cli #135

Open colltoaction opened 7 years ago

colltoaction commented 7 years ago

When I try to run dockerTask.sh, I get a dotnet: command not found exception, and I assumed this boilerplate would allow me to build the app inside a container. In fact, the README says "(...) helps you build and run your project inside of a Docker container". If only one of these steps is ran inside a container, then I think the text is ambiguous.

The main reason I'm containerizing is to be able to use a not-so-well-supported distro such as Arch Linux, where installing the CLI is almost impossible. If it ran inside a container, then I would avoid the need for the CLI at all.

I believe this is possible, and I'm working on it, but does it mean I won't get debugging? Does the debug feature depend on the CLI?

Thanks!