6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
7 # not use this file except in compliance with the License. You may obtain
8 # a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15 # License for the specific language governing permissions and limitations
22 MAINTAINER Gerardo Garcia <gerardo.garciadeblas@telefonica.com>; Jayant Madavi <JM00553988@techmahindra.com>
24 RUN apt-get update && apt-get -y install curl software-properties-common
26 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install wget python3 python3-pip \
27 libcurl4-openssl-dev libssl-dev python3-openstackclient
29 RUN python3 -m pip install -U pip && python3 -m pip install pyyaml python-magic pyangbind pytest==4.6.3 verboselogs
31 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
32 ARG RELEASE=ReleaseSEVEN-daily
33 ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg
34 ARG REPOSITORY=testing
36 RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add -
37 RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} devops osmclient IM" && apt-get update
43 RUN apt-get update && apt-get -y install osm-devops${DEVOPS_VERSION} \
44 python3-osm-im${IM_VERSION} python3-osmclient${OSMCLIENT_VERSION}
46 ENV OSM_HOSTNAME=nbi:9999