d-utils

simple utils to use docker images without docker
git clone https://git.ce9e.org/d-utils.git

commit
fb901f42d81e8d214ec14e0d71151d40d3b281d3
parent
be12c816a3b78ca2ee2ff1c3a363f3447cc95f31
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-11-10 10:12
d-pull: get oci instead of docker manifest

Diffstat

M d-pull 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/d-pull b/d-pull

@@ -52,7 +52,7 @@ mkdir -p "$dir/rootfs"
   52    52 echo "$lib/$img:$tag" > "$dir/image.txt"
   53    53 
   54    54 echo "  fetching manifest"
   55    -1 curl -s -H "$auth" -H "Accept: application/vnd.docker.distribution.manifest.v2+json" "$url/manifests/$tag" -o "$dir/manifest.json"
   -1    55 curl -s -H "$auth" -H "Accept: application/vnd.oci.image.manifest.v1+json" "$url/manifests/$tag" -o "$dir/manifest.json"
   56    56 
   57    57 echo "  fetching config"
   58    58 config=$(jq -r '.config.digest' "$dir/manifest.json")