Skip to content

Commit

Permalink
fix(BA-438): Libc version not parsed on image without metadata label (#…
Browse files Browse the repository at this point in the history
…3341) (#3393)

Co-authored-by: Kyujin Cho <[email protected]>
  • Loading branch information
lablup-octodog and kyujin-cho authored Jan 8, 2025
1 parent c476127 commit 3c4c0ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/3341.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix image without metadata label not working
4 changes: 2 additions & 2 deletions src/ai/backend/agent/docker/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1311,8 +1311,8 @@ async def resolve_image_distro(self, image: ImageConfig) -> str:
"HostConfig": {
"Init": True,
},
"Entrypoint": "sh",
"Cmd": ["-c", "ldd", "--version"],
"Entrypoint": [""],
"Cmd": ["ldd", "--version"],
}

container = await docker.containers.create(container_config)
Expand Down

0 comments on commit 3c4c0ac

Please sign in to comment.