From 9badb8590e710d3436783f1beef833d6c53fb546 Mon Sep 17 00:00:00 2001 From: "moksh.baweja" Date: Mon, 29 Sep 2025 15:19:46 +0530 Subject: [PATCH] Dockerfile to use versioned SDKs The current Dockerfile for the trainingmgr service clones the featurestoresdk and modelmetricssdk directly from the master branch of their respective Git repositories during the build process. Instead, the Dockerfile should be updated to use the officially published version Issue-Id: AIMLFW-251 Change-Id: Ice786b3549ee3bce8421cfb70f367fbcb8698d19 Signed-off-by: moksh.baweja --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6ad69b..0ade6d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,12 +18,7 @@ COPY . . RUN pip3 install --no-cache-dir -r requirements.txt # Clone SDK repositories and install SDKs -RUN git clone --depth 1 "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store" /SDK/featurestoresdk_main && \ - git clone --depth 1 "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage" /SDK/modelmetricssdk_main && \ - pip3 install --no-cache-dir /SDK/featurestoresdk_main/. && \ - pip3 install --no-cache-dir /SDK/modelmetricssdk_main/. && \ - rm -rf /SDK - +RUN pip3 install --no-cache-dir featurestoresdk==0.3.1 modelmetricsdk==0.3.1 # Final stage FROM python:3.10-slim -- 2.16.6