mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(build-system): add support for AppVeyor CI (#2449)
This commit is contained in:
parent
2541f4daea
commit
65979709e9
12 changed files with 343 additions and 27 deletions
13
build/download_docker_binary.ps1
Normal file
13
build/download_docker_binary.ps1
Normal file
|
@ -0,0 +1,13 @@
|
|||
param (
|
||||
[string]$docker_version
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop";
|
||||
|
||||
New-Item -Path "docker-binary" -ItemType Directory | Out-Null
|
||||
|
||||
$download_folder = "docker-binary"
|
||||
|
||||
Invoke-WebRequest -O "$($download_folder)/docker-binaries.zip" "https://download.docker.com/win/static/stable/x86_64/docker-$($docker_version).zip"
|
||||
Expand-Archive -Path "$($download_folder)/docker-binaries.zip" -DestinationPath "$($download_folder)"
|
||||
Move-Item -Path "$($download_folder)/docker/docker.exe" -Destination "dist"
|
Loading…
Add table
Add a link
Reference in a new issue