From a3a33bc3c0939a9a29efe8a717a5770c5a153f7c Mon Sep 17 00:00:00 2001 From: impervius <63152795+impervius@users.noreply.github.com> Date: Fri, 3 Oct 2025 00:13:29 +0300 Subject: [PATCH 1/5] Remove unneeded python requirements --- dependencies/requirements.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/dependencies/requirements.txt b/dependencies/requirements.txt index 6ef3b97b2..a295681b6 100644 --- a/dependencies/requirements.txt +++ b/dependencies/requirements.txt @@ -1,6 +1,4 @@ uefi_firmware jefferson ubi-reader -lz4 -zstandard git+https://github.com/marin-m/vmlinux-to-elf From bf3635b876e6c3d0d4adc148191abfedbd600606 Mon Sep 17 00:00:00 2001 From: impervius <63152795+impervius@users.noreply.github.com> Date: Fri, 3 Oct 2025 00:15:55 +0300 Subject: [PATCH 2/5] Upgrade docker ubuntu version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ae38ee4f..b61b56861 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## Scratch build stage -FROM ubuntu:25.04 AS build +FROM ubuntu:25.10 AS build ARG BUILD_DIR="/tmp" ARG BINWALK_BUILD_DIR="${BUILD_DIR}/binwalk" @@ -50,7 +50,7 @@ RUN apt-get update -y \ ## Prod image build stage -FROM ubuntu:25.04 +FROM ubuntu:25.10 ARG BUILD_DIR="/tmp" ARG BINWALK_BUILD_DIR="${BUILD_DIR}/binwalk" From bc25ce86ec9be28e0044f76ea87e2bf06190b08a Mon Sep 17 00:00:00 2001 From: impervius <63152795+impervius@users.noreply.github.com> Date: Fri, 3 Oct 2025 00:45:08 +0300 Subject: [PATCH 3/5] Add needed flags for uv pip install --- dependencies/pip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/pip.sh b/dependencies/pip.sh index db418322a..8524ac623 100755 --- a/dependencies/pip.sh +++ b/dependencies/pip.sh @@ -5,7 +5,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if command -v uv >/dev/null 2>&1; then - uv pip install -r "$SCRIPT_DIR/requirements.txt" + uv pip install -r "$SCRIPT_DIR/requirements.txt" --system --break-system-packages else pip install -r "$SCRIPT_DIR/requirements.txt" --break-system-packages fi From 31b2a2c257bd1b87ce2ce0031b131bb67818588a Mon Sep 17 00:00:00 2001 From: impervius <63152795+impervius@users.noreply.github.com> Date: Thu, 9 Oct 2025 21:16:55 +0300 Subject: [PATCH 4/5] Remove unused packages from docker --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b61b56861..4d7ff8809 100644 --- a/Dockerfile +++ b/Dockerfile @@ -85,11 +85,8 @@ RUN apt-get update -y \ zstd \ srecord \ tar \ - unzip \ sleuthkit \ cabextract \ - curl \ - wget \ git \ lz4 \ lzop \ From 93f90c15f59872fc413625da2f53a13d67d5a675 Mon Sep 17 00:00:00 2001 From: impervius <63152795+impervius@users.noreply.github.com> Date: Mon, 19 Jan 2026 23:52:55 +0200 Subject: [PATCH 5/5] Don't install to system packages by default, as it might be destructive (can be manually changed with env vars) --- dependencies/pip.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies/pip.sh b/dependencies/pip.sh index 8524ac623..9d97ba805 100755 --- a/dependencies/pip.sh +++ b/dependencies/pip.sh @@ -5,7 +5,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if command -v uv >/dev/null 2>&1; then - uv pip install -r "$SCRIPT_DIR/requirements.txt" --system --break-system-packages + uv pip install -r "$SCRIPT_DIR/requirements.txt" else - pip install -r "$SCRIPT_DIR/requirements.txt" --break-system-packages + pip install -r "$SCRIPT_DIR/requirements.txt" fi