Switch back to using NuGet.org for all packages since 1.1.1 has released
This commit is contained in:
Родитель
d912e99b86
Коммит
b3f7734b4d
|
@ -1,3 +1,3 @@
|
|||
FROM {image}
|
||||
|
||||
RUN dotnet restore -r debian.8-x64 {optionalRestoreParams}
|
||||
RUN dotnet restore -r debian.8-x64
|
||||
|
|
|
@ -71,7 +71,7 @@ Get-ChildItem -Path $repoRoot -Recurse -Filter Dockerfile |
|
|||
exec { docker run --rm `
|
||||
-v ${framworkDepVol}:"${containerRoot}volume" `
|
||||
$buildImage `
|
||||
dotnet publish -o ${containerRoot}volume
|
||||
dotnet publish -o ${containerRoot}volume
|
||||
}
|
||||
|
||||
Write-Host "----- Testing on $baseTag-runtime$tagSuffix with $sdkTag framework-dependent app -----"
|
||||
|
@ -87,15 +87,10 @@ Get-ChildItem -Path $repoRoot -Recurse -Filter Dockerfile |
|
|||
|
||||
if ($platform -eq "linux") {
|
||||
$selfContainedImage = "self-contained-build-${buildImage}"
|
||||
$optionalRestoreParams = ""
|
||||
if ($sdkTag -like "*1.1-sdk") {
|
||||
# Temporary workaround until 1.1.1 packages are released on NuGet.org
|
||||
$optionalRestoreParams = "-s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json -s https://api.nuget.org/v3/index.json"
|
||||
}
|
||||
|
||||
Write-Host "----- Creating publish-image for self-contained app built on $fullSdkTag -----"
|
||||
Try {
|
||||
exec { (Get-Content ${testFilesPath}Dockerfile.linux.publish).Replace("{image}", $buildImage).Replace("{optionalRestoreParams}", $optionalRestoreParams) `
|
||||
exec { (Get-Content ${testFilesPath}Dockerfile.linux.publish).Replace("{image}", $buildImage) `
|
||||
| docker build $optionalDockerBuildArgs -t $selfContainedImage -
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче