Repository navigation
fix(security): refresh Python and native runtime trust #3321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
e2c6d82
f1ce39a
28f699d
ddb54dc
acee8db
b134548
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| ARG UV_VERSION=0.12.3 | ||
| ARG UV_VERSION=0.13.5 | ||
| FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv-bin | ||
|
|
||
| # Match the BYO images' glibc version for Substrate checkpoint/restore. | ||
| FROM debian:bookworm-slim AS base | ||
| FROM debian:bookworm-slim@sha256:7ff6ba31527b9e336162fa061746c366c4b2032f4d2cff2078bea43f78efe3f8 AS base | ||
| ENV UV_PYTHON_INSTALL_DIR=/python | ||
| COPY --from=uv-bin /uv /usr/local/bin/uv | ||
| RUN apt-get update \ | ||
| && apt-get upgrade -y --no-install-recommends \ | ||
| && apt-get install -y --no-install-recommends bash ca-certificates libstdc++6 \ | ||
| && apt-get satisfy -y --no-install-recommends bash 'ca-certificates (>= 20250419~deb12u2)' libstdc++6 \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| FROM base AS builder | ||
|
|
@@ -40,6 +40,7 @@ COPY --from=builder /.kagent/.venv /.kagent/.venv | |
| ENV LANG=C.UTF-8 \ | ||
| LC_ALL=C.UTF-8 \ | ||
| PYTHONUNBUFFERED=1 \ | ||
| GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/etc/ssl/certs/ca-certificates.crt \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could ca-certificates get a version floor like alpine has?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added |
||
| UV_PYTHON_DOWNLOADS=never \ | ||
| UV_CACHE_DIR=/config/.cache/uv \ | ||
| PATH="/.kagent/.venv/bin:$PATH" \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config.go still pins 2.1.285 with strict version check