From 44f99a4359a838c6c895edbf4388a8b3a58ddf0f Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Wed, 23 Jul 2025 21:14:37 +0100 Subject: [PATCH] Update container builds --- containers/Containerfile.base | 2 +- containers/Containerfile.bedrock | 2 +- containers/Containerfile.flow | 2 +- containers/Containerfile.hf | 2 +- containers/Containerfile.mcp | 2 ++ containers/Containerfile.ocr | 2 +- containers/Containerfile.vertexai | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/containers/Containerfile.base b/containers/Containerfile.base index 4d28b26d..067b4c2c 100644 --- a/containers/Containerfile.base +++ b/containers/Containerfile.base @@ -11,7 +11,7 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3.12 && \ alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \ python -m ensurepip --upgrade && \ - pip3 install --no-cache-dir wheel aiohttp && \ + pip3 install --no-cache-dir build wheel aiohttp && \ pip3 install --no-cache-dir pulsar-client==3.7.0 && \ dnf clean all diff --git a/containers/Containerfile.bedrock b/containers/Containerfile.bedrock index 2885080d..a35d12ad 100644 --- a/containers/Containerfile.bedrock +++ b/containers/Containerfile.bedrock @@ -11,7 +11,7 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3.12 && \ alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \ python -m ensurepip --upgrade && \ - pip3 install --no-cache-dir wheel aiohttp && \ + pip3 install --no-cache-dir build wheel aiohttp && \ pip3 install --no-cache-dir pulsar-client==3.7.0 && \ dnf clean all diff --git a/containers/Containerfile.flow b/containers/Containerfile.flow index d4015c8c..2ffa17d3 100644 --- a/containers/Containerfile.flow +++ b/containers/Containerfile.flow @@ -11,7 +11,7 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3.12 && \ alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \ python -m ensurepip --upgrade && \ - pip3 install --no-cache-dir wheel aiohttp rdflib && \ + pip3 install --no-cache-dir build wheel aiohttp rdflib && \ pip3 install --no-cache-dir pulsar-client==3.7.0 && \ dnf clean all diff --git a/containers/Containerfile.hf b/containers/Containerfile.hf index dcc91632..b76179ff 100644 --- a/containers/Containerfile.hf +++ b/containers/Containerfile.hf @@ -11,7 +11,7 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3.12 && \ alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \ python -m ensurepip --upgrade && \ - pip3 install --no-cache-dir wheel aiohttp && \ + pip3 install --no-cache-dir build wheel aiohttp && \ pip3 install --no-cache-dir pulsar-client==3.7.0 && \ dnf clean all diff --git a/containers/Containerfile.mcp b/containers/Containerfile.mcp index 79f479d5..2377a663 100644 --- a/containers/Containerfile.mcp +++ b/containers/Containerfile.mcp @@ -26,6 +26,8 @@ COPY trustgraph-mcp/ /root/build/trustgraph-mcp/ WORKDIR /root/build/ +RUN pip3 install --no-cache-dir build wheel + RUN pip3 wheel -w /root/wheels/ --no-deps ./trustgraph-mcp/ RUN ls /root/wheels diff --git a/containers/Containerfile.ocr b/containers/Containerfile.ocr index 43b66463..bb1f3ae2 100644 --- a/containers/Containerfile.ocr +++ b/containers/Containerfile.ocr @@ -12,7 +12,7 @@ RUN dnf install -y python3.12 && \ dnf install -y tesseract poppler-utils && \ alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \ python -m ensurepip --upgrade && \ - pip3 install --no-cache-dir wheel aiohttp && \ + pip3 install --no-cache-dir build wheel aiohttp && \ pip3 install --no-cache-dir pulsar-client==3.7.0 && \ dnf clean all diff --git a/containers/Containerfile.vertexai b/containers/Containerfile.vertexai index 9d7028c0..9a4bd15f 100644 --- a/containers/Containerfile.vertexai +++ b/containers/Containerfile.vertexai @@ -11,7 +11,7 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1 RUN dnf install -y python3.12 && \ alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \ python -m ensurepip --upgrade && \ - pip3 install --no-cache-dir wheel aiohttp && \ + pip3 install --no-cache-dir build wheel aiohttp && \ pip3 install --no-cache-dir pulsar-client==3.7.0 && \ pip3 install --no-cache-dir google-cloud-aiplatform && \ dnf clean all