X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=docker%2FDockerfile-local;h=1dff02d13e847c842d15f625ad89b3e918c273b8;hp=e7e05ce49b701728ae4ba1a58414deb3f325af5b;hb=5db670b68349fd1f00a5efc8c0ccd0ef9d073dca;hpb=c5293def02d95ed4ee086dd8842437b76ec05c4e diff --git a/docker/Dockerfile-local b/docker/Dockerfile-local index e7e05ce4..1dff02d1 100644 --- a/docker/Dockerfile-local +++ b/docker/Dockerfile-local @@ -1,20 +1,42 @@ -from ubuntu:xenial +## +# Copyright {yyyy} {name of copyright owner} +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +## + +######################################################################## + +from ubuntu:18.04 LABEL authors="Gennadiy Dubina, Alfonso Tierno, Gerardo Garcia" RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \ - DEBIAN_FRONTEND=noninteractive add-apt-repository -y cloud-archive:queens && \ - apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install git python python-pip && \ DEBIAN_FRONTEND=noninteractive apt-get -y install wget tox && \ DEBIAN_FRONTEND=noninteractive pip2 install pip==9.0.3 && \ DEBIAN_FRONTEND=noninteractive pip2 install -U progressbar pyvmomi pyvcloud==19.1.1 && \ - DEBIAN_FRONTEND=noninteractive apt-get -y install python-novaclient python-keystoneclient python-glanceclient python-cinderclient python-neutronclient && \ + DEBIAN_FRONTEND=noninteractive pip2 install -U fog05rest && \ + DEBIAN_FRONTEND=noninteractive pip2 install -U azure && \ + DEBIAN_FRONTEND=noninteractive apt-get -y install python-requests && \ + DEBIAN_FRONTEND=noninteractive apt-get -y install python-novaclient python-keystoneclient python-glanceclient python-cinderclient python-neutronclient python-networking-l2gw && \ DEBIAN_FRONTEND=noninteractive apt-get -y install python-cffi libmysqlclient-dev libssl-dev libffi-dev python-mysqldb && \ DEBIAN_FRONTEND=noninteractive apt-get -y install python-openstacksdk python-openstackclient && \ DEBIAN_FRONTEND=noninteractive apt-get -y install python-networkx && \ + DEBIAN_FRONTEND=noninteractive apt-get -y install genisoimage && \ DEBIAN_FRONTEND=noninteractive pip2 install untangle && \ + DEBIAN_FRONTEND=noninteractive pip2 install pyone && \ DEBIAN_FRONTEND=noninteractive pip2 install -e git+https://github.com/python-oca/python-oca#egg=oca && \ DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-client @@ -65,3 +87,6 @@ ENV RO_DB_HOST="" \ RO_LOG_LEVEL=DEBUG CMD RO-start.sh + +# HEALTHCHECK --start-period=30s --interval=10s --timeout=5s --retries=12 \ +# CMD curl --silent --fail localhost:9090/openmano/tenants || exit 1