Migrate project.json to dotnet.csproj & do build in dotnet container (#488)

This commit is contained in:
Ta-Ching Chen
2018-02-07 21:43:51 +08:00
committed by GitHub
parent c56ed598cb
commit 3c513c7f61
4 changed files with 30 additions and 27 deletions
+6 -3
View File
@@ -1,3 +1,6 @@
dotnet restore
dotnet publish -c Release -o out
docker build -t fission/dotnet-env .
#!/bin/sh
THIS_DIR=$(realpath $(dirname $0))
docker run -v $THIS_DIR:/proj microsoft/dotnet:1.1-sdk sh -c "cd /proj && ./project-build.sh"