mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-12 23:12:23 -06:00
fix: apt-get upgrade in Dockerfile to resolve CVE-2026-0861
Trivy scan fails on HIGH for libc-bin/libc6 (2.41-12+deb13u1). The fix (2.41-12+deb13u2) is available in Debian repos but the base python:3.14-slim image hasn't been rebuilt yet. Adding apt-get upgrade pulls in all pending security patches at build time.
This commit is contained in:
committed by
Patrick Buckley
parent
fc948d711d
commit
c11991819e
+1
-1
@@ -11,7 +11,7 @@ LABEL org.opencontainers.image.title="turnstone" \
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.10.10 /uv /usr/local/bin/uv
|
||||
|
||||
# System dependencies for psycopg (PostgreSQL client library)
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libpq5 \
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libpq5 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Non-root user
|
||||
|
||||
Reference in New Issue
Block a user