&& pip3 install pip==9.0.3
RUN pip3 install 'macaroonbakery>=1.1,<2.0' 'pyRFC3339>=1.0,<2.0' \
- 'pyyaml>=3.0,<4.0' 'theblues>=0.3.8,<1.0' 'websockets>=4.0,<5.0' \
+ 'pyyaml>=5.1.2' 'theblues>=0.3.8,<1.0' 'websockets>=4.0,<5.0' \
'paramiko' # PyNaCl
ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
&& apt-get -y install python3-osm-common${COMMON_VERSION} \
python3-osm-mon${MON_VERSION} \
python3-n2vc${N2VC_VERSION}
+
+
+RUN python3 -m pip install -U juju
+
COPY scripts/ scripts/
ENV OSMMON_MESSAGE_DRIVER kafka
EXPOSE 8000
-HEALTHCHECK --interval=5s --timeout=2s --retries=12 \
+HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \
CMD osm-mon-healthcheck || exit 1
CMD /bin/bash scripts/start.sh