Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Commit 3ee377d

Browse files
authored
Update packages and runtime store to match latest dotnet-nightly image (#248)
1 parent cf03228 commit 3ee377d

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

2.0/jessie/kitchensink/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet-nightly:2.0.0-preview2-sdk
1+
FROM microsoft/dotnet-nightly:2.0.0-preview2-sdk-jessie
22

33
# set up environment
44
ENV ASPNETCORE_URLS http://+:80
@@ -60,7 +60,7 @@ COPY packagescache.csproj /tmp/warmup/
6060

6161
# warm up package cache
6262
RUN dotnet restore /tmp/warmup/packagescache.csproj \
63-
--source https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json \
63+
--source https://dotnet.myget.org/F/dotnet-2-0-0-preview2-final/api/v3/index.json \
6464
--source https://api.nuget.org/v3/index.json \
6565
&& rm -rf /tmp/warmup/
6666

2.0/jessie/kitchensink/packagescache.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp2.0'">
11-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-25661" />
11+
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" />
1212
</ItemGroup>
1313

1414
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp1.0'">

2.0/jessie/runtime/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM microsoft/dotnet-nightly:2.0.0-preview2-runtime
1+
FROM microsoft/dotnet-nightly:2.0.0-preview2-runtime-jessie
22

33
# set up network
44
ENV ASPNETCORE_URLS http://+:80
55

66
# set up the runtime store
77
RUN curl -o /tmp/runtimestore.tar.gz \
8-
https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/store/2.0.0-preview2-186/Build.RS.linux-preview2-25661.tar.gz \
8+
https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/store/2.0.0-preview2-215/Build.RS.linux.tar.gz \
99
&& export DOTNET_HOME=$(dirname $(readlink $(which dotnet))) \
1010
&& tar -x -C $DOTNET_HOME -f /tmp/runtimestore.tar.gz \
1111
&& rm /tmp/runtimestore.tar.gz

2.0/jessie/sdk/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet-nightly:2.0.0-preview2-sdk
1+
FROM microsoft/dotnet-nightly:2.0.0-preview2-sdk-jessie
22

33
# set up environment
44
ENV ASPNETCORE_URLS http://+:80
@@ -41,7 +41,7 @@ RUN buildDeps='xz-utils' \
4141
# warmup NuGet package cache
4242
COPY packagescache.csproj /tmp/warmup/
4343
RUN dotnet restore /tmp/warmup/packagescache.csproj \
44-
--source https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json \
44+
--source https://dotnet.myget.org/F/dotnet-2-0-0-preview2-final/api/v3/index.json \
4545
--source https://api.nuget.org/v3/index.json \
4646
&& rm -rf /tmp/warmup/
4747

2.0/jessie/sdk/packagescache.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-25661" />
9+
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" />
1010
</ItemGroup>
1111

1212
</Project>

2.0/nanoserver/kitchensink/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ RUN Invoke-WebRequest -UseBasicParsing https://distaspnet.blob.core.windows.net/
3535
# warmup up NuGet package cache
3636
COPY packagescache.csproj C:/warmup/packagescache.csproj
3737
RUN dotnet restore C:/warmup/packagescache.csproj `
38-
--source https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json `
38+
--source https://dotnet.myget.org/F/dotnet-2-0-0-preview2-final/api/v3/index.json `
3939
--source https://api.nuget.org/v3/index.json; `
4040
Remove-Item -Recurse -Force C:/warmup

2.0/nanoserver/kitchensink/packagescache.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp2.0'">
11-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-25661" />
11+
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" />
1212
</ItemGroup>
1313

1414
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp1.0'">

2.0/nanoserver/runtime/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM microsoft/dotnet-nightly:2.0.0-preview2-runtime-nanoserver-10.0.14393.1358
55
ENV ASPNETCORE_URLS http://+:80
66

77
# set up the runtime store
8-
RUN $downloadUrl = 'https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/store/2.0.0-preview2-186/Build.RS.winx64-preview2-25661.zip'; `
8+
RUN $downloadUrl = 'https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/store/2.0.0-preview2-215/Build.RS.winx64.zip'; `
99
Write-Host \"Downloading and extracting $downloadUrl\"; `
1010
Invoke-WebRequest $downloadUrl -OutFile cache.zip; `
1111
$env:DOTNET_HOME = $(Split-Path -Parent (Get-Command dotnet.exe).Source); `

2.0/nanoserver/sdk/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ RUN setx /M PATH $($Env:PATH + ';' + $Env:ProgramFiles + '/nodejs' + ';' + $Env:
2222
COPY packagescache.csproj C:/warmup/packagescache.csproj
2323

2424
RUN dotnet restore C:/warmup/packagescache.csproj `
25-
--source https://dotnet.myget.org/F/aspnetcore-release/api/v3/index.json `
25+
--source https://dotnet.myget.org/F/dotnet-2-0-0-preview2-final/api/v3/index.json `
2626
--source https://api.nuget.org/v3/index.json; `
2727
Remove-Item -Recurse -Force C:/warmup

2.0/nanoserver/sdk/packagescache.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-25661" />
9+
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" />
1010
</ItemGroup>
1111

1212
</Project>

0 commit comments

Comments
 (0)