diff --git a/containers/Containerfile.base b/containers/Containerfile.base index baaa89cf..4d28b26d 100644 --- a/containers/Containerfile.base +++ b/containers/Containerfile.base @@ -8,10 +8,12 @@ FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 -RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp && \ - dnf clean all - -RUN pip3 install --no-cache-dir pulsar-client==3.7.0 +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 pulsar-client==3.7.0 && \ + dnf clean all # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build diff --git a/containers/Containerfile.bedrock b/containers/Containerfile.bedrock index 2650943f..2885080d 100644 --- a/containers/Containerfile.bedrock +++ b/containers/Containerfile.bedrock @@ -8,10 +8,12 @@ FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 -RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ - python3-rdflib - -RUN pip3 install --no-cache-dir boto3 pulsar-client==3.7.0 +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 pulsar-client==3.7.0 && \ + dnf clean all # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build diff --git a/containers/Containerfile.flow b/containers/Containerfile.flow index d1d5dbe1..d4015c8c 100644 --- a/containers/Containerfile.flow +++ b/containers/Containerfile.flow @@ -8,8 +8,12 @@ FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 -RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ - python3-rdflib +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 pulsar-client==3.7.0 && \ + dnf clean all RUN pip3 install --no-cache-dir \ anthropic cohere mistralai openai google-generativeai \ diff --git a/containers/Containerfile.hf b/containers/Containerfile.hf index bd651122..dcc91632 100644 --- a/containers/Containerfile.hf +++ b/containers/Containerfile.hf @@ -8,8 +8,12 @@ FROM docker.io/fedora:42 AS ai ENV PIP_BREAK_SYSTEM_PACKAGES=1 -RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ - python3-rdflib +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 pulsar-client==3.7.0 && \ + dnf clean all RUN pip3 install torch==2.5.1+cpu \ --index-url https://download.pytorch.org/whl/cpu diff --git a/containers/Containerfile.ocr b/containers/Containerfile.ocr index eb9d67b7..661b8e17 100644 --- a/containers/Containerfile.ocr +++ b/containers/Containerfile.ocr @@ -8,10 +8,12 @@ FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 -RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ - python3-rdflib tesseract poppler poppler-utils - -RUN pip3 install --no-cache-dir pytesseract pulsar-client==3.7.0 +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 pulsar-client==3.7.0 && \ + dnf clean all # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build diff --git a/containers/Containerfile.vertexai b/containers/Containerfile.vertexai index 129e689c..659cf376 100644 --- a/containers/Containerfile.vertexai +++ b/containers/Containerfile.vertexai @@ -8,11 +8,12 @@ FROM docker.io/fedora:42 AS base ENV PIP_BREAK_SYSTEM_PACKAGES=1 -RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ - python3-rdflib - -RUN pip3 install --no-cache-dir \ - google-cloud-aiplatform pulsar-client==3.7.0 +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 pulsar-client==3.7.0 && \ + dnf clean all # ---------------------------------------------------------------------------- # Build a container which contains the built Python packages. The build