We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ebff68 commit 0030222Copy full SHA for 0030222
docker_squash/v2_image.py
@@ -16,6 +16,9 @@ class V2Image(Image):
16
def _before_squashing(self):
17
super(V2Image, self)._before_squashing()
18
19
+ # New OCI Archive format type
20
+ self.oci_format = True
21
+
22
# Read old image manifest file
23
self.old_image_manifest = self._get_manifest()
24
self.log.debug(
@@ -375,8 +378,6 @@ def _generate_image_metadata(self):
375
378
376
379
def _get_manifest(self):
377
380
if os.path.exists(os.path.join(self.old_image_dir, "index.json")):
- # New OCI Archive format type
- self.oci_format = True
381
# Not using index.json to extract manifest details as while the config
382
# sha could be extracted via some indirection i.e.
383
#
0 commit comments