blob: d544a6ee6f16c0266537aa46b55a9d7368452382 [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
Mike Marchetti13d76c82018-09-19 15:00:36 -040010RUN pip install python-magic pytest
11
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 -
18RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} devops osmclient" && apt update
19
Mike Marchetti13d76c82018-09-19 15:00:36 -040020ARG OSMCLIENT_VERSION
21ARG DEVOPS_VERSION
22
23RUN apt-get update && apt-get -y install osm-devops${DEVOPS_VERSION} python-osmclient${OSMCLIENT_VERSION}
Mike Marchettib8420852018-09-13 13:45:06 -040024
25ENV OSM_SOL005=True
26ENV OSM_HOSTNAME=nbi:9999
27ENV OSM_RO_HOSTNAME=ro:9090