Upate Docker file to use latest trixie updates
Some checks failed
Build and Push Image / Build and push image (push) Failing after 37m31s

The lack of trixie updates was causing trivvy to have a heart failure

Signed-off-by: armistace <ar17787@gmail.com>
This commit is contained in:
armistace 2026-05-20 12:20:58 +10:00
parent 5241613144
commit 0d872ed029

View File

@ -2,7 +2,7 @@
FROM python:3.12-slim AS builder FROM python:3.12-slim AS builder
# Install system dependencies # Install system dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
git \ git \
curl \ curl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
@ -25,7 +25,7 @@ RUN uv pip install --python /opt/venv/bin/python .
FROM python:3.12-slim FROM python:3.12-slim
# Install system dependencies needed at runtime # Install system dependencies needed at runtime
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
git \ git \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*