Skip to content

Commit

Permalink
Merge pull request #5418 from castrombithisamm/update-windows-doc
Browse files Browse the repository at this point in the history
docs: windows: add script to pick latest version
  • Loading branch information
crazy-max authored Oct 13, 2024
2 parents 2bb7d9c + 8e3bded commit 62e69ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ You will be asked to restart your machine, do so, and then continue with the res
1. Start the `containerd` service, if not yet started.
1. Download and extract:
```powershell
$version = "v0.13.0-rc2" # specify the release version, v0.13+
$url = "https://api.github.com/repos/moby/buildkit/releases/latest"
$version = (Invoke-RestMethod -Uri $url -UseBasicParsing).tag_name
$arch = "amd64" # arm64 binary available too
curl.exe -LO https://github.com/moby/buildkit/releases/download/$version/buildkit-$version.windows-$arch.tar.gz
# there could be another `.\bin` directory from containerd instructions
Expand Down

0 comments on commit 62e69ad

Please sign in to comment.