File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- . $PSScriptRoot \..\..\update-docker - rc .ps1
1+ . $PSScriptRoot \..\..\update-docker - ce .ps1
22
33Write-Host Building Mongo image for Nanoserver
44docker build - t mongo:nano -f Dockerfile .
Original file line number Diff line number Diff line change 1- . $PSScriptRoot \..\..\..\update-docker - rc .ps1
1+ . $PSScriptRoot \..\..\..\update-docker - ce .ps1
22
33Write-Host Building Mongo image for Nanoserver
44docker build - t mongo:nano- enterprise -f Dockerfile .
Original file line number Diff line number Diff line change 1- . $PSScriptRoot \..\update-docker - rc .ps1
1+ . $PSScriptRoot \..\update-docker - ce .ps1
22
33function buildVersion ($majorMinorPatch , $majorMinor , $major ) {
44 docker build - t node:$majorMinorPatch $majorMinor
Original file line number Diff line number Diff line change 1- . $PSScriptRoot \..\update-docker - rc .ps1
1+ . $PSScriptRoot \..\update-docker - ce .ps1
22
33docker build - t prometheus .
Original file line number Diff line number Diff line change 1- . $PSScriptRoot \..\update-docker - rc .ps1
1+ . $PSScriptRoot \..\update-docker - ce .ps1
22
33Write-Host Building registry binary and image
44docker build - t registry .
Original file line number Diff line number Diff line change 11$ErrorActionPreference = ' Stop'
22$ProgressPreference = ' SilentlyContinue'
33
4- $version = " 17.05.0-ce-rc3 "
4+ $version = " 17.05.0-ce"
55if ($ (docker -- version).StartsWith(" Docker version $version " )) {
66 Write-Host Already updated.
77 exit 0 ;
@@ -12,7 +12,7 @@ Stop-Service docker
1212
1313Write-Host " Downloading docker-$version .zip"
1414$wc = New-Object net.webclient
15- $wc.DownloadFile (" https://test .docker.com/builds/Windows/x86_64/docker-$version .zip" , " $env: TEMP \docker-$version .zip" )
15+ $wc.DownloadFile (" https://get .docker.com/builds/Windows/x86_64/docker-$version .zip" , " $env: TEMP \docker-$version .zip" )
1616Write-Host " Extracting docker-$version .zip"
1717Expand-Archive - Path " $env: TEMP \docker-$version .zip" - DestinationPath $env: ProgramFiles - Force
1818Remove-Item " $env: TEMP \docker-$version .zip"
Original file line number Diff line number Diff line change 1- . $PSScriptRoot \..\update-docker - rc .ps1
1+ . $PSScriptRoot \..\update-docker - ce .ps1
22
33docker build - t webserver .
You can’t perform that action at this time.
0 commit comments