Drop compromised eMudhra roots from the image CA store (#35)
Unit Tests / test (push) Successful in 10s

This app does not depend on `certifi`. Python still uses the image trust store for outbound TLS, and `python:3.12-slim` does not yet install the patched `ca-certificates` package.

The image install now upgrades `ca-certificates` and regenerates the bundle so `emSign ECC Root CA - G3` and `Comodo AAA Services` are not trusted.

Merge this, then redeploy prod.

Reviewed-on: #35
This commit was merged in pull request #35.
This commit is contained in:
westfarn committed 2026-10-23 09:03:13 -07:00
1 parent d0c43425f5
commit 5956d0432b
1 file changed
+2 -1
+2 -1
View File
@@ -9,7 +9,8 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
WORKDIR /app WORKDIR /app
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends libpq5 \ && apt-get install -y --no-install-recommends ca-certificates libpq5 \
&& update-ca-certificates \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv