blob: a791b04968b5a827b53f705b242e83ad314d4ed1 [file] [log] [blame]
Mike Marchettib8420852018-09-13 13:45:06 -04001FROM ubuntu:16.04
2
3LABEL authors="Michael Marchetti"
4
5RUN apt-get update && apt-get -y install curl software-properties-common
6
Mike Marchetti13d76c82018-09-19 15:00:36 -04007RUN apt-get update && apt-get -y install python \
Mike Marchettie31371a2018-09-21 16:56:54 -04008 libcurl4-gnutls-dev libgnutls-dev iputils-ping python-pip \
9 python-openstackclient wget
yadavmrc0fcbb02019-07-08 19:19:11 +053010RUN pip install python-magic pyangbind pytest==4.6.3
Mike Marchetti13d76c82018-09-19 15:00:36 -040011
Mike Marchettib8420852018-09-13 13:45:06 -040012ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
13ARG RELEASE=ReleaseFOUR-daily
14ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg
15ARG REPOSITORY=testing
16
17RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add -
yadavmrc0fcbb02019-07-08 19:19:11 +053018RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} devops osmclient IM" && apt update
Mike Marchettib8420852018-09-13 13:45:06 -040019
Mike Marchetti13d76c82018-09-19 15:00:36 -040020ARG OSMCLIENT_VERSION
21ARG DEVOPS_VERSION
yadavmr03a61342019-07-08 21:28:34 +053022ARG IM_VERSION
Mike Marchetti13d76c82018-09-19 15:00:36 -040023
yadavmr03a61342019-07-08 21:28:34 +053024RUN apt-get update && apt-get -y install osm-devops${DEVOPS_VERSION} python-osmclient${OSMCLIENT_VERSION} python-osm-im${IM_VERSION}
Mike Marchettib8420852018-09-13 13:45:06 -040025
26ENV OSM_SOL005=True
27ENV OSM_HOSTNAME=nbi:9999
28ENV OSM_RO_HOSTNAME=ro:9090