Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(deps): refresh the ca bundle in the remaining python images (#122682)

Georges-Antoine Assi7be554c7ddb2
diff --git a/products/tasks/backend/sandbox/images/Dockerfile.sandbox-streamlit b/products/tasks/backend/sandbox/images/Dockerfile.sandbox-streamlit
index 3341fa6d493e..662e86ee333e 100644
--- a/products/tasks/backend/sandbox/images/Dockerfile.sandbox-streamlit
+++ b/products/tasks/backend/sandbox/images/Dockerfile.sandbox-streamlit
@@ -5,6 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive
# Glob-pinned: exact deb revisions vanish from mirrors on security point
# releases, which would 404 the build; the upstream version stays fixed.
RUN apt-get update && apt-get install -y --no-install-recommends \
+ "ca-certificates" \
"curl=8.14.1*" \
&& rm -rf /var/lib/apt/lists/*
@@ -31,6 +32,7 @@ RUN pip install --no-cache-dir \
pyarrow==24.0.0 \
duckdb==1.5.3 \
requests==2.32.3 \
+ "certifi>=2026.10.19" \
beautifulsoup4==4.12.3 \
lxml==6.1.1 \
sqlalchemy==2.0.30 \
diff --git a/pyproject.toml b/pyproject.toml
index f86b5bde7088..3cba13778968 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -320,7 +320,7 @@ proto-codegen = [
]
[tool.uv]
-required-version = ">=0.10.2"
+required-version = ">=0.13.4"
add-bounds = "major"
exclude-newer = "7 days"
exclude-newer-package = { brotli = false, certifi = false, hogql-parser = false, hogql-parser-rs = false, deltalite = false, posthoganalytics = false, pixelhog = false, django = false, modal = false, posthog-hogland = false, google-ads = false, grpcio = false }
diff --git a/services/llm-gateway/Dockerfile b/services/llm-gateway/Dockerfile
index 8e36bd922454..bba37448d416 100644
--- a/services/llm-gateway/Dockerfile
+++ b/services/llm-gateway/Dockerfile
@@ -24,6 +24,11 @@ COPY --from=builder /app/src /app/src
ENV PATH="/app/.venv/bin:$PATH"
+# hadolint ignore=DL3008
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends ca-certificates && \
+ rm -rf /var/lib/apt/lists/*
+
RUN useradd --create-home --shell /bin/bash appuser && \
chown -R appuser:appuser /app
USER appuser