Add support for F# and set dotnet docket image to 1.0.1-projectjson (#409)

This commit is contained in:
Seif Lotfy سيف لطفي
2016-12-08 19:32:36 +01:00
committed by C Cirello
parent ad4d7ce8b9
commit f815ab54c2
8 changed files with 74 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ func (lh *DotNetLangHelper) PreBuild() error {
cmd := exec.Command(
"docker", "run",
"--rm", "-v",
wd+":/dotnet", "-w", "/dotnet", "microsoft/dotnet",
wd+":/dotnet", "-w", "/dotnet", "microsoft/dotnet:1.0.1-sdk-projectjson",
"/bin/sh", "-c", "dotnet restore && dotnet publish -c release -b /tmp -o .",
)
cmd.Stderr = os.Stderr