Skip to content

Commit 3f4ebcb

Browse files
massongitclaude
andcommitted
fix: docker pullとdocker inspectもpodmanに置き換え
Docker 27のcontainerd image storeのバグ(manifest unknown)を回避するため、 ghcr.io/astral-sh/uvイメージのpullとinspectもpodmanを使用するよう修正。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 26c04bc commit 3f4ebcb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/deploy_hato_bot/update_uv_version/get_uv_version.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ uv_version=$(podman run --rm "$image_tag" uv --version | sed -e 's/^uv //g')
77
sed -i -e "s/required-version = .*/required-version = \"$uv_version\"/g" pyproject.toml
88
image_name=ghcr.io/astral-sh/uv
99
image_tag=$image_name:$uv_version-python3.14-bookworm-slim
10-
docker pull "$image_tag"
11-
sed -i -e "s?^FROM $image_name:.[^ ]* ?FROM $image_tag$(docker inspect "$image_tag" | yq '.[0].RepoDigests[0]' | sed -e "s:^$image_name::g") ?g" Dockerfile
10+
# Docker 27のcontainerd image storeのバグ(manifest unknown)を回避するためpodmanを使用
11+
podman pull "$image_tag"
12+
sed -i -e "s?^FROM $image_name:.[^ ]* ?FROM $image_tag$(podman inspect "$image_tag" | yq '.[0].RepoDigests[0]' | sed -e "s:^$image_name::g") ?g" Dockerfile

0 commit comments

Comments
 (0)