From: ashishj1729 Date: Tue, 16 Sep 2025 11:37:54 +0000 (+0530) Subject: Fixing the Pipeline image build issue, which includes: X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=9160ec198b1f905ba1e1f0ee4ab863b684c28437;p=aiml-fw%2Faimlfw-dep.git Fixing the Pipeline image build issue, which includes: 1. Upgrading Python-image from v3.9 to v3.10. 2. Using pip to install featurestoresdk and modelmetricsdk. 3. Removing not-required packges from requirement.txt Issue-ID: AIMLFW-244 Change-Id: Ie98bda293d6d29203dc8d56da36cafac38e89050 Signed-off-by: ashishj1729 --- diff --git a/tools/kubeflow/Dockerfile.pipeline b/tools/kubeflow/Dockerfile.pipeline index 020bb7d..1650ba0 100644 --- a/tools/kubeflow/Dockerfile.pipeline +++ b/tools/kubeflow/Dockerfile.pipeline @@ -16,16 +16,14 @@ # # ================================================================================== -FROM python:3.9-slim +FROM python:3.10-slim + RUN apt-get update && \ apt-get install -y git COPY requirements_pipeline.txt . -RUN pip3 install -r requirements_pipeline.txt -RUN git clone -b l-release "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store" /SDK/featurestoresdk_main -RUN git clone -b l-release "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage" /SDK/modelmetricssdk_main +RUN pip3 install -r requirements_pipeline.txt +RUN pip3 install featurestoresdk==0.3.1 modelmetricsdk==0.3.1 -RUN pip3 install /SDK/featurestoresdk_main/. -RUN pip3 install /SDK/modelmetricssdk_main/. RUN mkdir -p /app_run WORKDIR /app_run diff --git a/tools/kubeflow/requirements_pipeline.txt b/tools/kubeflow/requirements_pipeline.txt index a180207..66a70ab 100644 --- a/tools/kubeflow/requirements_pipeline.txt +++ b/tools/kubeflow/requirements_pipeline.txt @@ -16,11 +16,7 @@ # # ================================================================================== -protobuf==3.20.1 -tensorflow==2.5.0 -cassandra-driver==3.25.0 -pandas==1.4.4 +protobuf +tensorflow==2.20.0 scikit-learn -kubernetes -boto3 -botocore +kubernetes \ No newline at end of file