[Ubuntu] Remove apt source for podman, buildah and skopeo (#3077)

* remove apt source list

* debug

* document source repo and fix installation

* small fix
This commit is contained in:
Dibir Magomedsaygitov
2021-04-08 14:13:21 +03:00
committed by GitHub
parent 6858b9232d
commit 21b8cadc2c
2 changed files with 18 additions and 5 deletions

View File

@@ -34,17 +34,20 @@ function Get-CodeQLBundleVersion {
function Get-PodManVersion {
$podmanVersion = podman --version | Take-OutputPart -Part 2
return "Podman $podmanVersion"
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Podman $podmanVersion (apt source repository: $aptSourceRepo)"
}
function Get-BuildahVersion {
$buildahVersion = buildah --version | Take-OutputPart -Part 2
return "Buildah $buildahVersion"
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Buildah $buildahVersion (apt source repository: $aptSourceRepo)"
}
function Get-SkopeoVersion {
$skopeoVersion = skopeo --version | Take-OutputPart -Part 2
return "Skopeo $skopeoVersion"
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Skopeo $skopeoVersion (apt source repository: $aptSourceRepo)"
}
function Get-CMakeVersion {