3 LABEL authors="Michael Marchetti"
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} devops osmclient" && apt update
15 RUN apt-get update && apt-get -y install python \
16 libcurl4-gnutls-dev libgnutls-dev osm-devops python-osmclient iputils-ping python-pip
17 RUN pip install python-magic pytest
20 ENV OSM_HOSTNAME=nbi:9999
21 ENV OSM_RO_HOSTNAME=ro:9090