dotnet20 build fixes (#365)

Fix the dotnet20 build, use docker for builds, and re-enable dotnet20 in the release script.
This commit is contained in:
Soam Vasani
2017-09-28 23:36:11 -07:00
committed by GitHub
parent 59c18693fa
commit 6a394889f6
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ Move to the build directory inside the container and restore the packages:
```
cd /build
dotnet restore
dotnet restore fission-dotnet20.csproj
log : Restoring packages for /source/project.json...
log : Installing System.Net.WebSockets 4.0.0.
log : Installing runtime.native.System.IO.Compression 4.1.0.
+5 -3
View File
@@ -1,4 +1,6 @@
#!/bin/sh
dotnet restore
dotnet publish -c Release -o out
docker build -t fission/dotnet20-env .
THIS_DIR=$(realpath $(dirname $0))
docker run -v $THIS_DIR:/proj microsoft/dotnet:2.0.0-sdk sh -c "cd /proj && ./project-build.sh"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
dotnet restore fission-dotnet20.csproj
dotnet publish fission-dotnet20.csproj -c Release -o out
+1 -1
View File
@@ -118,7 +118,7 @@ build_and_push_all_envs() {
build_and_push_env_image $version nodejs node-env
build_and_push_env_image $version binary binary-env
build_and_push_env_image $version dotnet dotnet-env
# (See #359) build_and_push_env_image $version dotnet20 dotnet20-env
build_and_push_env_image $version dotnet20 dotnet20-env
build_and_push_env_image $version go go-env
build_and_push_env_image $version perl perl-env
build_and_push_env_image $version php7 php-env