projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix 1214: change timeout from 10min to 5min for k8s cluster creation
[osm/LCM.git]
/
Dockerfile.local
diff --git
a/Dockerfile.local
b/Dockerfile.local
index
25775d6
..
40994c0
100644
(file)
--- a/
Dockerfile.local
+++ b/
Dockerfile.local
@@
-29,8
+29,8
@@
RUN curl https://get.helm.sh/helm-v2.15.2-linux-amd64.tar.gz --output helm-v2.15
&& mv linux-amd64/helm /usr/local/bin/helm \
&& rm -r linux-amd64/
&& mv linux-amd64/helm /usr/local/bin/helm \
&& rm -r linux-amd64/
-RUN curl -L https://launchpad.net/juju/2.7/2.7.
0/+download/juju-2.7.0-k8s.tar.xz --output juju-2.7.0
-k8s.tar.xz \
- && tar -xvf juju-2.7.
0
-k8s.tar.xz \
+RUN curl -L https://launchpad.net/juju/2.7/2.7.
6/+download/juju-2.7.6-k8s.tar.xz --output juju-2.7.6
-k8s.tar.xz \
+ && tar -xvf juju-2.7.
6
-k8s.tar.xz \
&& mv juju /usr/local/bin/juju
RUN apt-get update && apt-get install -y git tox python3 \
&& mv juju /usr/local/bin/juju
RUN apt-get update && apt-get install -y git tox python3 \
@@
-49,6
+49,8
@@
RUN git -C /app clone https://osm.etsi.org/gerrit/osm/common.git \
&& python3 -m pip install -e /app/common
# python3-pymongo python3-yaml pycrypto aiokafka
&& python3 -m pip install -e /app/common
# python3-pymongo python3-yaml pycrypto aiokafka
+RUN python3 -m pip install grpcio-tools grpclib
+
RUN mkdir -p /app/storage/kafka && mkdir -p /app/log
RUN mkdir -p /app/storage/kafka && mkdir -p /app/log
@@
-102,6
+104,10
@@
ENV OSMLCM_MESSAGE_DRIVER kafka
ENV OSMLCM_MESSAGE_HOST kafka
ENV OSMLCM_MESSAGE_PORT 9092
ENV OSMLCM_MESSAGE_HOST kafka
ENV OSMLCM_MESSAGE_PORT 9092
+# tsdb
+# ENV OSMLCM_TSDB_DRIVER prometheus
+# ENV OSMLCM_TSDB_PATH /etc/prometheus
+# ENV OSMLCM_TSDB_URI http://prometheus:9090/
# logs
# ENV OSMLCM_GLOBAL_LOGFILE /app/log/lcm.log
# logs
# ENV OSMLCM_GLOBAL_LOGFILE /app/log/lcm.log