Skip to content
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
9 changes: 6 additions & 3 deletions emu/containers/docker_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,11 @@ def create_container(self, dest: Path) -> str:
"build(path=%s, tag=%s, rm=True, decode=True)", dest, image_tag
)
result = api_client.build(
path=str(dest.absolute()), tag=image_tag, rm=True, decode=True,
platform=DockerContainer.DEFAULT_PLATFORM
path=str(dest.absolute()),
tag=image_tag,
rm=True,
decode=True,
platform=DockerContainer.DEFAULT_PLATFORM,
)
for entry in result:
if "stream" in entry and entry["stream"].strip():
Expand Down Expand Up @@ -162,7 +165,7 @@ def full_name(self) -> str:
if local:
return local.tags[0]

return ""
return self.image_name()

def latest_name(self):
if self.repo:
Expand Down