FROM python:3.10-slim-buster
-RUN apt-get update; apt-get install -y git gcc
+RUN apt-get update && apt-get install -y git gcc procps vim curl ssh
# in case git repo is not accessable
# RUN mkdir -p /cgtsclient
# in case git repo is not accessable
# RUN git clone --depth 1 --branch master https://github.com/cloudify-incubator/cloudify-helm-plugin.git /helmsdk
+RUN git clone --depth 1 --branch master https://opendev.org/starlingx/fault.git /faultclient
+RUN pip install -e /faultclient/python-fmclient/fmclient/
COPY requirements.txt /tmp/
COPY tests/ /tests/
-RUN apt-get install -y procps vim curl
-
RUN curl -O https://get.helm.sh/helm-v3.3.1-linux-amd64.tar.gz;
RUN tar -zxvf helm-v3.3.1-linux-amd64.tar.gz; cp linux-amd64/helm /usr/local/bin