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>
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