From: moksh.baweja Date: Mon, 29 Sep 2025 09:49:46 +0000 (+0530) Subject: Dockerfile to use versioned SDKs X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=9badb8590e710d3436783f1beef833d6c53fb546;p=aiml-fw%2Fawmf%2Ftm.git 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 --- 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