3 MAINTAINER Gennadiy Dubina <gennadiy.dubina@dataat.com>; Alfonso Tierno <alfonso.tiernosepulveda@telefoncia.com>
5 RUN apt-get update && apt-get -y install curl software-properties-common
7 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
8 ARG RELEASE=ReleaseFOUR-daily
9 ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg
10 ARG REPOSITORY=testing
12 RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add -
13 RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} RO IM common openvim" && apt update
15 RUN apt-get update && apt-get install -y python-setuptools python-wheel mysql-client python-bitarray
16 RUN apt-get update && apt-get install -y python-osm-ro python-osm-im
22 VOLUME /opt/openmano/logs
26 # Two mysql databases are needed (DB and DB_OVIM). Can be hosted on same or separated containers
27 # These ENV must be provided
29 ENV RO_DB_OVIM_HOST=""
30 # if empty RO_DB_HOST is assumed
32 # These ENV should be provided first time for creating database. It will create and init only if empty!
33 ENV RO_DB_ROOT_PASSWORD=""
34 ENV RO_DB_OVIM_ROOT_PASSWORD=""
35 # if empty RO_DB_ROOT_PASSWORD is assumed
37 # These ENV can be provided, but default values are ok
39 ENV RO_DB_OVIM_USER=mano
40 ENV RO_DB_PASSWORD=manopw
41 ENV RO_DB_OVIM_PASSWORD=manopw
43 ENV RO_DB_OVIM_PORT=3306
44 ENV RO_DB_NAME=mano_db
45 ENV RO_DB_OVIM_NAME=mano_vim_db