Closed hangy closed 5 years ago
Hi @hangy . Thanks for collaborating with us. You are the first external contributor. Nice!
An alternative solution might be to use a common output path (something like $(SolutionDir)\out) for all projects and to use docker volumes for the nuget package folder and this common output path.
This should preserve nuget packages and build outputs between docker builds and separate them from the IDE builds.
I use a similar aproach for go modules. cf. dvelop-app-template-go
This solution - if it works - keeps the container small and allows for a centrally managed build container shared by multiple projects.
Unless there is another reason than having
terraform\.terraform
as a place to store some persistent data, which requires the source directory to be mounted as a volume, this is an easy way to allow runningdocker build
without disturbing running instanced of an IDE.Fixes #2