Public Repository

Last pushed: 2 years ago
Short Description
Some pre-cached images of microsoft/aspnet. Use these images, with the scripts in the description
Full Description

Copy/Paste the following lines in a PowerShell script to pre-cache the ASP.NET Core RC1 runtime for debug and release images. These are used when demoing aka.ms/DockerToolsForVS

PowerShell Script

Write-Host Pulling ASP.NET RC1 DNX Debug Image w/Nugets -foregroundcolor "Green"
Write-Host Executing: docker pull stevelasker/aspnet:1.0.0-rc1-update1-dnx-debug-wnuget  -foregroundcolor "yellow"
docker pull stevelasker/aspnet:1.0.0-rc1-update1-dnx-debug-wnuget  

Write-Host Renaming to: microsoft/aspnet:1.0.0-rc1-update1-debug -foregroundcolor "Green"
Write-Host Executing: docker tag stevelasker/aspnet:1.0.0-rc1-update1-dnx-debug-wnuget microsoft/aspnet:1.0.0-rc1-update1-debug -foregroundcolor "yellow"
docker tag stevelasker/aspnet:1.0.0-rc1-update1-dnx-debug-wnuget microsoft/aspnet:1.0.0-rc1-update1-debug

Write-Host Pulling ASP.NET RC1 DNX Release Image w/Nugets -foregroundcolor "Green"
Write-Host Executing: docker pull stevelasker/aspnet:1.0.0-rc1-update1-dnx-release-wnuget  -foregroundcolor "yellow"
docker pull stevelasker/aspnet:1.0.0-rc1-update1-dnx-release-wnuget  

Write-Host Renaming to: microsoft/aspnet:1.0.0-rc1-update1-release -foregroundcolor "Green"
Write-Host Executing: docker tag stevelasker/aspnet:1.0.0-rc1-update1-dnx-release-wnuget microsoft/aspnet:1.0.0-rc1-update1-release -foregroundcolor "yellow"
docker tag stevelasker/aspnet:1.0.0-rc1-update1-dnx-release-wnuget microsoft/aspnet:1.0.0-rc1-update1-release

Write-Host Cleaning up faked image names -foregroundcolor "Green"
Write-Host Executing: docker rmi stevelasker/aspnet:1.0.0-rc1-update1-dnx-release-wnuget -foregroundcolor "yellow"
docker rmi stevelasker/aspnet:1.0.0-rc1-update1-dnx-release-wnuget
Write-Host Executing: docker rmi stevelasker/aspnet:1.0.0-rc1-update1-dnx-debug-wnuget -foregroundcolor "yellow"

docker rmi stevelasker/aspnet:1.0.0-rc1-update1-dnx-debug-wnuget
Write-Host Current Images -foregroundcolor "Green"
docker images

Changes to Docker Files

In your ASP.NET Project, simply change the FROM clause
Dockerfile.debug
FROM stevelasker/aspnet:1.0.0-rc1-update1-debug
Dockerfile.release
FROM microsoft/aspnet:1.0.0-rc1-update1-release

GitHub Repo

Docker Pull Command
Owner
stevelasker