Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add back secret with built-in user for o2 service
[pti/o2.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
dc0adcb
..
c3aba8d
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-1,6
+1,6
@@
FROM python:3.10-slim-buster
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 mkdir -p /cgtsclient
@@
-15,6
+15,8
@@
RUN pip install -e /distcloud-client/distributedcloud-client
# in case git repo is not accessable
# RUN git clone --depth 1 --branch master https://github.com/cloudify-incubator/cloudify-helm-plugin.git /helmsdk
# 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 requirements.txt /tmp/
@@
-44,8
+46,6
@@
COPY configs/ /etc/o2/
COPY tests/ /tests/
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
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