21417: Update arv-keepdocker for OCI-layout archives 21417-keepdocker-oci-layout
authorBrett Smith <brett.smith@curii.com>
Fri, 2 Feb 2024 07:26:26 +0000 (02:26 -0500)
committerBrett Smith <brett.smith@curii.com>
Fri, 2 Feb 2024 07:26:26 +0000 (02:26 -0500)
commit5f1b2148d042323bd1a6c963aae1bdbe2ef8e73e
tree8c5776e81fe7cc6679fef1156ac17c6868eb3c20
parent167dfc6ce7f7190d2c1c72af1b3be97f5fafba95
21417: Update arv-keepdocker for OCI-layout archives

Docker started saving image archives with this layout in version 25. Use
a more correct implementation that reads manifest.json as the archive
entry point and supports both layouts without branching.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
sdk/python/arvados/commands/keepdocker.py
sdk/python/tests/data/hello-world-ManifestV2-OCILayout.tar [new file with mode: 0644]
sdk/python/tests/data/hello-world-ManifestV2.tar [new file with mode: 0644]
sdk/python/tests/data/hello-world-README.txt [new file with mode: 0644]
sdk/python/tests/test_arv_keepdocker.py