Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.
Prev Previous commit
Workaround for bug in empty build args
  • Loading branch information
Nate McMaster committed Feb 8, 2018
commit c2185ab56fcf2ea052dd1fdcbb05c9fb1dbcb9b4
2 changes: 1 addition & 1 deletion test/Dockerfile.test.nanoserver
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN dotnet new web --framework %FRAMEWORK%
RUN if not exist "%USERPROFILE%/.nuget/" mkdir "%USERPROFILE%/.nuget/"
RUN if not exist "%USERPROFILE%/.nuget/packages" mkdir "%USERPROFILE%/.nuget/packages"
RUN dotnet restore --source "%USERPROFILE%/.nuget/packages" -p:RuntimeIdentifiers=win7-x64
RUN dotnet build "%BUILD_ARGS%"
RUN dotnet build %BUILD_ARGS%
2 changes: 1 addition & 1 deletion test/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function test_image ($version, $sdk_tag, $runtime_tag) {
Replace("{image}", $sdk_tag) `
| docker build `
--build-arg FRAMEWORK=$framework `
--build-arg BUILD_ARGS=$no_restore_flag `
--build-arg BUILD_ARGS="--configuration Release $no_restore_flag" `
-t $app_build_tag `
-

Expand Down