Ensure we encode the config in manifest schema 2 via the canonical JSON format
This commit is contained in:
parent
48e584905a
commit
feee49be9e
4 changed files with 48 additions and 5 deletions
|
|
@ -446,4 +446,4 @@ class DockerSchema2ManifestBuilder(object):
|
|||
_build_layer(layer) for layer in self.filesystem_layers
|
||||
],
|
||||
}
|
||||
return DockerSchema2Manifest(json.dumps(manifest_dict, indent=3, ensure_ascii=ensure_ascii))
|
||||
return DockerSchema2Manifest(json.dumps(manifest_dict, ensure_ascii=ensure_ascii, indent=3))
|
||||
|
|
|
|||
Reference in a new issue