Remove Docker 17.05 CE, AppVeyor already has 17.06 EE

pull/3/head
Stefan Scherer 7 years ago committed by GitHub
parent 418459f18b
commit 4a0ea01c1d

@ -5,17 +5,6 @@ Write-Host Starting build
Write-Host Updating base images
docker pull microsoft/nanoserver
docker version
Write-Host Updating Docker engine to master
Stop-Service docker
$version = "17.05.0-ce"
$wc = New-Object net.webclient
$wc.DownloadFile("https://get.docker.com/builds/Windows/x86_64/docker-$version.zip", "$env:TEMP\docker.zip")
Expand-Archive -Path "$env:TEMP\docker.zip" -DestinationPath $env:ProgramFiles -Force
Remove-Item "$env:TEMP\docker.zip"
Start-Service docker
docker version
docker build -t whoami -f Dockerfile.windows .
docker images

Loading…
Cancel
Save