Rebuild v1 on patched base image and add security gates (#24)
Scrap-Web/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2026-11-13 19:46:41 -05:00
parent ad37d148ed
commit 3fcd04010a
2 changed files with 3 additions and 1 deletions
Vendored
+1 -1
View File
@@ -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
+2
View File
@@ -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