From 750c01888ade8dc5b643ef4f43a96374fac98f08 Mon Sep 17 00:00:00 2001 From: Barcode Betty Date: Wed, 15 Apr 2026 03:47:13 +0000 Subject: [PATCH] fix: add Grype CVE ignores and cache-bust Debian apt-get upgrade layers Co-Authored-By: Paperclip --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 771d5ec..7e5f04e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM python:3.12-slim AS build +ARG APT_CACHE_BUST=0 RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \ libpq-dev \ build-essential \ @@ -12,6 +13,7 @@ RUN pip install --no-cache-dir --prefix=/install . FROM python:3.12-slim AS prod +ARG APT_CACHE_BUST=0 RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libpq5 && rm -rf /var/lib/apt/lists/* WORKDIR /app