Added mos-spt to the offline toolset image
* cloning mos-spt
* installing mos-spt
* putting it to /opt
Related-PROD: PROD-36856
Change-Id: Ie5442d7a8b68bd6e812abe80b8ab8608c814382e
diff --git a/k8s/docker-mos-toolset-min b/k8s/docker-mos-toolset-min
index 0c6cff8..a95b7bf 100644
--- a/k8s/docker-mos-toolset-min
+++ b/k8s/docker-mos-toolset-min
@@ -29,5 +29,13 @@
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
rm kubectl
+RUN git clone "https://gerrit.mcp.mirantis.com/mcp/mos-spt" /opt/mos-spt && \
+ cd /opt/mos-spt && \
+ python3 -m venv .venv && \
+ . .venv/bin/activate && \
+ pip3 install --no-cache-dir -r requirements.txt && \
+ deactivate && \
+ cd /opt
+
ENTRYPOINT ["sleep infinite"]