X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile.localtest;h=33fcaa820fed810320de481630b1efe5d6b1f1ae;hb=refs%2Fchanges%2F37%2F12737%2F1;hp=a46b1782bbf9bf90a3f97cd5b78784143f4d9628;hpb=ad15ec6b732868c3ecedb9cd84450462bafa3320;p=pti%2Fo2.git diff --git a/Dockerfile.localtest b/Dockerfile.localtest index a46b178..33fcaa8 100644 --- a/Dockerfile.localtest +++ b/Dockerfile.localtest @@ -1,4 +1,4 @@ -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 ssh @@ -7,9 +7,11 @@ RUN apt-get update && apt-get install -y git gcc \ 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