Merge "Updated base image plus Python to 3.11"
[pti/o2.git] / Dockerfile.localtest
index 3a3a7ea..33fcaa8 100644 (file)
@@ -1,15 +1,17 @@
-FROM python:3.10-slim-buster
+FROM python:3.11-slim-buster
 
 RUN apt-get update && apt-get install -y git gcc \
-    vim curl procps
+    vim curl procps ssh
 
 # in case git repo is not accessable
 RUN mkdir -p /cgtsclient && mkdir -p /distcloud-client
 COPY temp/config /cgtsclient/
 COPY temp/distcloud-client /distcloud-client/
+COPY temp/fault /faultclient/
 
 RUN pip install -e cgtsclient/sysinv/cgts-client/cgts-client/ \
-    && pip install -e /distcloud-client/distributedcloud-client
+    && pip install -e /distcloud-client/distributedcloud-client \
+    && pip install -e /faultclient/python-fmclient/fmclient/
 # in case git repo is not accessable
 
 COPY requirements.txt constraints.txt requirements-test.txt /tmp/
@@ -50,4 +52,6 @@ RUN tar -zxvf helm-v3.3.1-linux-amd64.tar.gz; cp linux-amd64/helm /usr/local/bin
 RUN mkdir -p /etc/kubeconfig/
 # COPY temp/kubeconfig/config /etc/kubeconfig/
 
+RUN mkdir -p /var/log/orano2
+
 WORKDIR /src