docker 18.09 zip brings some dll dependencies

parent 64ceb1f1
...@@ -26,7 +26,7 @@ if ($docker_provider -eq "ce") { ...@@ -26,7 +26,7 @@ if ($docker_provider -eq "ce") {
Write-Output "Downloading docker $docker_version ..." Write-Output "Downloading docker $docker_version ..."
wget -outfile $env:TEMP\ $("{0}.zip" -f $docker_version) wget -outfile $env:TEMP\ $("{0}.zip" -f $docker_version)
Expand-Archive -Path $env:TEMP\ -DestinationPath $env:TEMP -Force Expand-Archive -Path $env:TEMP\ -DestinationPath $env:TEMP -Force
copy $env:TEMP\docker\*.exe $env:ProgramFiles\docker copy $env:TEMP\docker\*.* $env:ProgramFiles\docker
Remove-Item $env:TEMP\ Remove-Item $env:TEMP\
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$($env:ProgramFiles)\docker", [EnvironmentVariableTarget]::Machine) [Environment]::SetEnvironmentVariable("Path", $env:Path + ";$($env:ProgramFiles)\docker", [EnvironmentVariableTarget]::Machine)
$env:Path = $env:Path + ";$($env:ProgramFiles)\docker" $env:Path = $env:Path + ";$($env:ProgramFiles)\docker"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment