Skip to content

Commit f00c399

Browse files
authored
fix: Migrate remaining Dockerfiles from bookworm to trixie (CVE-2026-42010) (#1575)
Replace all remaining bookworm-based images with Debian Trixie (stable) to address CVE-2026-42010 (GnuTLS RSA-PSK authentication bypass, CVSS 9.8) and align with the rest of the repository. Changes: - 4 Dockerfiles: python:3.13-slim-bookworm -> python:3.13-slim-trixie - 7 Dockerfiles: ghcr.io/astral-sh/uv:python3.13-bookworm-slim -> python:3.13-slim-trixie + COPY --from=ghcr.io/astral-sh/uv:latest Trixie (Debian 13) includes the GnuTLS fix (DLA-4595-1) and is now the current Debian stable release. Bookworm full support ends June 2026. sim: https://t.corp.amazon.com/D448133494
1 parent ce97c48 commit f00c399

11 files changed

Lines changed: 18 additions & 11 deletions

File tree

  • 01-features
    • 04-manage-context-of-your-agent/memory
    • 07-centralize-and-govern-your-ai-infrastructure/03-registry/03-advanced
    • 08-agents-that-transact/02-use-cases
  • 06-workshops
    • 07-AgentCore-evaluations/05-groundtruth-based-evalautions
    • 13-AgentCore-payments/02-use-cases

01-features/04-manage-context-of-your-agent/memory/03-integrations/01-runtime-integration/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23
WORKDIR /app
34

45
# All environment variables in one layer

01-features/04-manage-context-of-your-agent/memory/03-integrations/02-identity-integration/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23
WORKDIR /app
34

45
# All environment variables in one layer

01-features/04-manage-context-of-your-agent/memory/05-security/01-iam-scoped-access/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23
WORKDIR /app
34

45
# All environment variables in one layer

01-features/04-manage-context-of-your-agent/memory/05-security/02-cognito-federated-identity/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23
WORKDIR /app
34

45
# All environment variables in one layer

01-features/07-centralize-and-govern-your-ai-infrastructure/03-registry/03-advanced/discovery-and-invocation-at-runtime/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23
WORKDIR /app
34

45
# All environment variables in one layer

01-features/07-centralize-and-govern-your-ai-infrastructure/03-registry/03-advanced/publish-agentcore-tools-in-registry/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23
WORKDIR /app
34

45
# All environment variables in one layer

01-features/08-agents-that-transact/02-use-cases/pay-for-content-browser-use/agent/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/python:3.13-slim-bookworm
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
22

33
WORKDIR /app
44

01-features/08-agents-that-transact/02-use-cases/pay-for-data/agent/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/python:3.13-slim-bookworm
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
22

33
WORKDIR /app
44

06-workshops/07-AgentCore-evaluations/05-groundtruth-based-evalautions/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
2+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
23
WORKDIR /app
34

45
# All environment variables in one layer

06-workshops/13-AgentCore-payments/02-use-cases/pay-for-content-browser-use/agent/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/python:3.13-slim-bookworm
1+
FROM public.ecr.aws/docker/library/python:3.13-slim-trixie
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)