Dockerfile to use versioned SDKs 90/15090/1
authormoksh.baweja <moksh.baweja@samsung.com>
Mon, 29 Sep 2025 09:49:46 +0000 (15:19 +0530)
committermoksh.baweja <moksh.baweja@samsung.com>
Mon, 29 Sep 2025 09:49:46 +0000 (15:19 +0530)
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 <moksh.baweja@samsung.com>
Dockerfile

index a6ad69b..0ade6d1 100644 (file)
@@ -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