Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

add config size information in the append builder to support image pull in a podman environment #569

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions containerregistry/client/v2_2/append_.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def __init__(self,
self._config_file = json.dumps(config_file, sort_keys=True)
manifest['config']['digest'] = docker_digest.SHA256(
self._config_file.encode('utf8'))
manifest['config']['size'] = len(self._config_file)
self._manifest = json.dumps(manifest, sort_keys=True)

def manifest(self):
Expand Down