mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			51 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "version": "0.29.1",
 | |
|     "description": "Docker CLI plugin for extended build capabilities with BuildKit",
 | |
|     "homepage": "https://github.com/docker/buildx",
 | |
|     "license": "Apache-2.0",
 | |
|     "architecture": {
 | |
|         "64bit": {
 | |
|             "url": "https://github.com/docker/buildx/releases/download/v0.29.1/buildx-v0.29.1.windows-amd64.exe#/docker-buildx.exe",
 | |
|             "hash": "3522d12875b71093a210fdc717c9b4be915d1617d41dd347e6dc3e7f2b99d784"
 | |
|         },
 | |
|         "arm64": {
 | |
|             "url": "https://github.com/docker/buildx/releases/download/v0.29.1/buildx-v0.29.1.windows-arm64.exe#/docker-buildx.exe",
 | |
|             "hash": "2e1e5a3603ef9c92cef386ea8a6ffc300854247737686c6e9af47c308dec19c8"
 | |
|         }
 | |
|     },
 | |
|     "bin": "docker-buildx.exe",
 | |
|     "post_install": [
 | |
|         "$docker_plugin_dir=(Join-Path $Env:USERPROFILE .docker/cli-plugins)",
 | |
|         "if ($global) {",
 | |
|         "  $docker_plugin_dir=(Join-Path $Env:ProgramData Docker/cli-plugins)",
 | |
|         "  echo \"INFO: docker-buildx will be installed to global directory $docker_plugin_dir\"",
 | |
|         "}",
 | |
|         "echo 'Installing docker-buildx as docker-cli plugin...'",
 | |
|         "New-Item -ItemType Directory -Force $docker_plugin_dir | Out-Null",
 | |
|         "Copy-Item (Join-Path $original_dir docker-buildx.exe) (Join-Path $docker_plugin_dir docker-buildx.exe)"
 | |
|     ],
 | |
|     "post_uninstall": [
 | |
|         "$docker_plugin_dir=(Join-Path $Env:USERPROFILE .docker/cli-plugins)",
 | |
|         "if ($global) {",
 | |
|         "  $docker_plugin_dir=(Join-Path $Env:ProgramData Docker/cli-plugins)",
 | |
|         "}",
 | |
|         "Remove-Item -Force (Join-Path $docker_plugin_dir docker-buildx.exe)"
 | |
|     ],
 | |
|     "checkver": {
 | |
|         "github": "https://github.com/docker/buildx"
 | |
|     },
 | |
|     "autoupdate": {
 | |
|         "architecture": {
 | |
|             "64bit": {
 | |
|                 "url": "https://github.com/docker/buildx/releases/download/v$version/buildx-v$version.windows-amd64.exe#/docker-buildx.exe"
 | |
|             },
 | |
|             "arm64": {
 | |
|                 "url": "https://github.com/docker/buildx/releases/download/v$version/buildx-v$version.windows-arm64.exe#/docker-buildx.exe"
 | |
|             }
 | |
|         },
 | |
|         "hash": {
 | |
|             "url": "https://github.com/docker/buildx/releases/download/v$version/checksums.txt"
 | |
|         }
 | |
|     }
 | |
| }
 | 
![github-actions[bot]](/assets/img/avatar_default.png)