# contact: bdiaz@whitestack.com or glavado@whitestack.com
##
-FROM ubuntu:18.04
+FROM ubuntu:20.04
LABEL authors="Guillermo Calvino"
&& DEBIAN_FRONTEND=noninteractive apt-get install -y curl \
software-properties-common \
git \
- python \
- python-pip \
python3 \
python3-pip \
- libmysqlclient-dev \
libssl-dev \
libffi-dev \
- mysql-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& python3 -m pip install -U pip
-RUN pip3 install 'macaroonbakery>=1.1,<2.0' 'pyRFC3339>=1.0,<2.0' \
- 'pyyaml>=5.1.2' 'theblues>=0.3.8,<1.0' 'websockets>=4.0,<5.0' \
- 'paramiko' 'dogpile.cache==0.9.2'
+RUN pip3 install 'pyyaml>=5.1.2' 'paramiko' 'chardet==3.0.4' \
+ 'lxml==4.6.2' 'humanfriendly==9.0.*' 'aiokafka==0.6.0' \
+ 'prometheus_client==0.4.*' 'python-keystoneclient==3.15.*' \
+ 'six==1.15.0' 'requests==2.25.*' 'gnocchiclient==7.0.*' \
+ 'pyvcloud==23.0.*' 'python-novaclient==12.0.*' \
+ 'python-ceilometerclient==2.9.*' 'python-neutronclient==5.1.*'
ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
ARG RELEASE=ReleaseNINE-daily
EXPOSE 8000
-HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \
+HEALTHCHECK --start-period=120s --interval=5s --timeout=2s --retries=12\
CMD osm-mon-healthcheck || exit 1
CMD /bin/bash scripts/start.sh