Skip to content

Commit 7249809

Browse files
Ladasclaude
andcommitted
fix: Use Docker Hub base image instead of GHCR (auth issues)
ghcr.io/astral-sh/uv requires authentication which fails on HyperShift clusters without GHCR pull secrets. Switch to python:3.12-slim-bookworm (Docker Hub, no auth needed) and install uv via pip. Affects: weather_service, weather_tool (E2E test agents) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Ladislav Smola <lsmola@redhat.com>
1 parent 6cb1100 commit 7249809

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

a2a/weather_service/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
1+
FROM python:3.12-slim-bookworm
22
ARG RELEASE_VERSION="main"
33

4+
# Install uv
5+
RUN pip install --no-cache-dir uv
6+
47
WORKDIR /app
58
COPY . .
69
RUN uv sync --no-cache --locked --link-mode copy

mcp/weather_tool/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
1+
FROM python:3.12-slim-bookworm
22
ARG RELEASE_VERSION="main"
33

4+
# Install uv
5+
RUN pip install --no-cache-dir uv
6+
47
WORKDIR /app
58
COPY . .
69
RUN uv sync --no-cache --locked --link-mode copy

0 commit comments

Comments
 (0)