From c0e18e94c76d49f253053e0820f069f4e9f58286 Mon Sep 17 00:00:00 2001 From: Mishu Islam Date: Mon, 20 Jul 2026 22:17:51 -0400 Subject: [PATCH] Upgrade Docker packaging toolchain --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 946099c..a7775d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,10 @@ ARG COMMIT_SHA=master # Set the working directory in the container WORKDIR /usr/src/app -# Install the package directly from the specific commit on GitHub -RUN pip3 install 'git+https://github.com/SigProfilerSuite/SigProfilerMatrixGenerator.git@'${COMMIT_SHA} +# Upgrade the Ubuntu packaging toolchain before building the project. +RUN python3 -m pip install --upgrade pip "setuptools>=69" wheel && \ + python3 -m pip install \ + "git+https://github.com/SigProfilerSuite/SigProfilerMatrixGenerator.git@${COMMIT_SHA}" # Create a non-root user RUN useradd -m -s /bin/bash spm_user