Add docker-compose as a docker cli plugin (#2757)

This commit is contained in:
Laurent Sibilla 2021-10-25 12:40:21 +02:00 committed by GitHub
parent 6235eb0964
commit 21fc21c852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,10 @@
}
},
"bin": "docker-compose.exe",
"post_install": "echo 'Installing docker-compose as docker-cli plugin...'; New-Item -ItemType Directory -Force \"$Env:USERPROFILE/.docker/cli-plugins\" | Out-Null; Copy-Item \"$original_dir/docker-compose.exe\" \"$Env:USERPROFILE/.docker/cli-plugins/docker-compose.exe\"",
"uninstaller": {
"script": "Remove-Item -Force \"$Env:USERPROFILE/.docker/cli-plugins/docker-compose.exe\""
},
"checkver": {
"github": "https://github.com/docker/compose"
},