| Mike Marchetti | 972947c | 2018-09-15 12:28:29 -0400 | [diff] [blame] | 1 | FROM ubuntu:16.04 |
| 2 | |
| 3 | LABEL authors="Michael Marchetti" |
| 4 | |
| 5 | RUN apt-get update && apt-get -y install curl software-properties-common |
| 6 | |
| 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 |
| 11 | |
| 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 |
| 14 | |
| 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 |
| 18 | |
| 19 | ENV OSM_SOL005=True |
| 20 | ENV OSM_HOSTNAME=nbi:9999 |
| 21 | ENV OSM_RO_HOSTNAME=ro:9090 |