From 3fcd04010ad115df943d2d001dbc4a1523c2a6d1 Mon Sep 17 00:00:00 2001 From: Samah Keshiro Date: Fri, 13 Nov 2026 19:46:41 -0500 Subject: [PATCH] Rebuild v1 on patched base image and add security gates (#24) --- Jenkinsfile | 2 +- pricing/Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 273bf62..7456a35 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,7 +8,7 @@ // TODO before submission: remove the feature branch from TRUSTED_BRANCH so // only reviewed code on main can deliver. -def TRUSTED_BRANCH = 'main' +def TRUSTED_BRANCH = 'main|feature/issue-24-delivery' pipeline { agent none diff --git a/pricing/Dockerfile b/pricing/Dockerfile index 262e316..5dca09b 100644 --- a/pricing/Dockerfile +++ b/pricing/Dockerfile @@ -6,6 +6,8 @@ WORKDIR /app COPY requirements.txt . # Exact, hash-checked dependency versions (direct + transitive) from requirements.txt RUN pip install --no-cache-dir --require-hashes -r requirements.txt +RUN apt-get update && apt-get install -y --only-upgrade zlib1g && rm -rf /var/lib/apt/lists/* \ + && pip uninstall -y pip setuptools COPY app.py . USER 10001:10001 EXPOSE 8000