1
0
mirror of https://github.com/netbox-community/netbox-docker.git synced 2025-08-08 15:02:05 +03:00

Simplified basse image check

This commit is contained in:
Tobias Genannt
2023-03-16 07:50:24 +01:00
parent 311629ade4
commit b131b07af8
2 changed files with 3 additions and 7 deletions

View File

@@ -6,11 +6,6 @@ get_image_label() {
skopeo inspect "docker://$image" | jq -r ".Labels[\"$label\"]"
}
get_image_layers() {
local image=$1
skopeo inspect "docker://$image" | jq -r ".Layers"
}
get_image_last_layer() {
local image=$1
skopeo inspect "docker://$image" | jq -r ".Layers | last"